添加全局样式和 element ui框架
This commit is contained in:
@@ -41,6 +41,8 @@ export default defineConfig(async ({ mode }) => {
|
||||
target: 'esnext',
|
||||
cssCodeSplit: true,
|
||||
rollupOptions: {
|
||||
// 关键配置:告诉 Rollup 不要处理模块联邦的导入
|
||||
external: [ 'shared/normalize' ],
|
||||
output: {
|
||||
minifyInternalExports: false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user