We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ES2015
1 parent a8b9683 commit 743691bCopy full SHA for 743691b
vite.config.ts
@@ -52,6 +52,8 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
52
exclude
53
},
54
build: {
55
+ // https://cn.vitejs.dev/guide/build.html#browser-compatibility
56
+ target: "es2015",
57
sourcemap: false,
58
// 消除打包大小超过500kb警告
59
chunkSizeWarningLimit: 4000,
0 commit comments