更新了版本
This commit is contained in:
@@ -36,8 +36,11 @@ export default defineConfig(() => {
|
||||
fileName: (format) => `iflow-engine.${format}.js`,
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ['opentype.js'],
|
||||
output: {
|
||||
globals: {},
|
||||
globals: {
|
||||
'opentype.js': '{}',
|
||||
},
|
||||
// 禁用代码分割,将所有代码打包到一个文件
|
||||
inlineDynamicImports: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user