Skip to content

Commit

Permalink
fix: webpack with export * as
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 committed May 6, 2024
1 parent aa3562c commit 06dffbe
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
6 changes: 6 additions & 0 deletions packages/charts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.1.1

`2024-05-06`

- 🐞 修复低版本 webpack 不支持的 `export * as` 语法

## 2.1.0

`2024-04-19`
Expand Down
2 changes: 1 addition & 1 deletion packages/charts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": false,
"name": "@ant-design/charts",
"version": "2.1.0",
"version": "2.1.1",
"description": "AntV upper level visual component library",
"bugs": {
"url": "https://github.com/ant-design/ant-design-charts/issues"
Expand Down
6 changes: 6 additions & 0 deletions packages/plots/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.2.2

`2024-05-06`

- 🐞 修复低版本 webpack 不支持的 `export * as` 语法

## 2.2.1

`2024-04-25`
Expand Down
2 changes: 1 addition & 1 deletion packages/plots/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/plots",
"version": "2.2.1",
"version": "2.2.2",
"description": "G2Plot Statistical chart",
"bugs": {
"url": "https://github.com/ant-design/ant-design-charts/issues"
Expand Down
5 changes: 3 additions & 2 deletions packages/plots/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export * from './components';
import * as G2 from '@antv/g2';

export * from './components';
export * from './interface';

/** utils */
export { measureTextWidth } from './core/utils';
export { G2 };

0 comments on commit 06dffbe

Please sign in to comment.