We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5baf028 commit 598993bCopy full SHA for 598993b
1 file changed
vite.config.build.ts
@@ -34,7 +34,7 @@ export default defineConfig({
34
minify: false,
35
rollupOptions: {
36
// 请确保外部化那些你的库中不需要的依赖
37
- external: ['vue', 'vue-router'],
+ external: ['vue', 'vue-router', '@tarojs/taro'],
38
output: {
39
banner,
40
// 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
0 commit comments