mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 00:18:51 +08:00
chore: 打包后的代码改为默认原生支持 ES2015
的浏览器
This commit is contained in:
parent
a8b9683a5f
commit
743691ba5d
@ -52,6 +52,8 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
|
|||||||
exclude
|
exclude
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
// https://cn.vitejs.dev/guide/build.html#browser-compatibility
|
||||||
|
target: "es2015",
|
||||||
sourcemap: false,
|
sourcemap: false,
|
||||||
// 消除打包大小超过500kb警告
|
// 消除打包大小超过500kb警告
|
||||||
chunkSizeWarningLimit: 4000,
|
chunkSizeWarningLimit: 4000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user