Skip to content

Commit 08d7905

Browse files
committed
fix: fix bundler.config.js of react-vchart
1 parent bfb4ed1 commit 08d7905

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-vchart/bundler.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ module.exports = {
1212
umdOutputFilename: 'index',
1313
noEmitOnError: false,
1414
globals: {
15-
'@visactor/vchart': 'VChart',
16-
'@visactor/vutils': 'VUtils'
15+
'react': 'React',
16+
'react-dom': 'ReactDOM'
1717
},
18-
external: ['@visactor/vchart', '@visactor/vutils']
18+
external: ['react', 'react-dom']
1919
};

0 commit comments

Comments
 (0)