Skip to content

Commit 616f266

Browse files
committed
fix: unexternal for webcomponent deps
1 parent fc33a82 commit 616f266

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/webcomponent/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default defineConfig({
3333
},
3434
rollupOptions: {
3535
// 确保外部化处理那些你不想打包进库的依赖
36-
external: ['vue', 'vue-i18n', '@vue/shared'],
36+
external: ['vue', 'vue-i18n'],
3737
output: {
3838
// 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
3939
globals: {

0 commit comments

Comments
 (0)