diff --git a/common/changes/@visactor/vchart/fix-extension-build-external_2025-10-30-09-25.json b/common/changes/@visactor/vchart/fix-extension-build-external_2025-10-30-09-25.json new file mode 100644 index 0000000000..0c640912ec --- /dev/null +++ b/common/changes/@visactor/vchart/fix-extension-build-external_2025-10-30-09-25.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: fix the vchart-extension packaged artifacts contained an extra vrender\n\n", + "type": "none", + "packageName": "@visactor/vchart" + } + ], + "packageName": "@visactor/vchart", + "email": "lixuef1313@163.com" +} \ No newline at end of file diff --git a/packages/vchart-extension/bundler.config.js b/packages/vchart-extension/bundler.config.js index c801540c78..9e01bf1a20 100644 --- a/packages/vchart-extension/bundler.config.js +++ b/packages/vchart-extension/bundler.config.js @@ -18,5 +18,14 @@ module.exports = { globals: { '@visactor/vchart': 'VChart', }, - external: ['@visactor/vchart'] + external: [ + '@visactor/vchart', + // vchart 已经引入了 下面这些包, 这里不需要再打包 + '@visactor/vlayouts', + '@visactor/vdataset', + '@visactor/vutils', + '@visactor/vrender-core', + '@visactor/vrender-components', + '@visactor/vrender-kits', + '@visactor/vrender-animate'] };