Skip to content

Commit 5d52c96

Browse files
authored
fix: webpack with export * as (#2530)
1 parent aa3562c commit 5d52c96

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

packages/charts/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.1.1
2+
3+
`2024-05-06`
4+
5+
- 🐞 修复低版本 webpack 不支持的 `export * as` 语法
6+
17
## 2.1.0
28

39
`2024-04-19`

packages/charts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": false,
33
"name": "@ant-design/charts",
4-
"version": "2.1.0",
4+
"version": "2.1.1",
55
"description": "AntV upper level visual component library",
66
"bugs": {
77
"url": "https://github.com/ant-design/ant-design-charts/issues"

packages/plots/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.2.2
2+
3+
`2024-05-06`
4+
5+
- 🐞 修复低版本 webpack 不支持的 `export * as` 语法
6+
17
## 2.2.1
28

39
`2024-04-25`

packages/plots/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ant-design/plots",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "G2Plot Statistical chart",
55
"bugs": {
66
"url": "https://github.com/ant-design/ant-design-charts/issues"

packages/plots/src/index.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
export * from './components';
1+
import * as G2 from '@antv/g2';
22

3+
export * from './components';
34
export * from './interface';
4-
55
/** utils */
66
export { measureTextWidth } from './core/utils';
7+
export { G2 };

0 commit comments

Comments
 (0)