1
This commit is contained in:
1 parent
ea6a244942
commit
757de9a43f
9 files changed
+312
-90
No files matched your search
+2
-1
@@ -37,6 +37,7 @@ export default defineConfig({
|
||||
}
|
||||
}
|
||||
},
|
||||
chunkSizeWarningLimit: 800,
|
||||
// 5. 生产环境是否生成 sourcemap(默认 false,关闭可减小包体积)
|
||||
sourcemap: false,
|
||||
// 6. 清空输出目录(默认 true)
|
||||
@@ -44,4 +45,4 @@ export default defineConfig({
|
||||
},
|
||||
// 7. 部署的公共路径(关键!如部署到子路径 https://xxx.com/my-app/,需设为 '/my-app/')
|
||||
base: './' // 相对路径(推荐),或绝对路径 '/'
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user