fix 修复 打包没有打包ie.html问题与一些警告处理

This commit is contained in:
疯狂的狮子Li
2026-06-26 13:19:37 +08:00
parent bcd4a55656
commit 4f5f4a7846
4 changed files with 11 additions and 1 deletions
+9
View File
@@ -15,6 +15,15 @@ export default defineConfig(({ mode, command }) => {
},
// https://cn.vitejs.dev/config/#resolve-extensions
plugins: createPlugins(env, command === 'build'),
build: {
chunkSizeWarningLimit: 1500,
rolldownOptions: {
checks: {
invalidAnnotation: false,
pluginTimings: false
}
}
},
server: {
host: '0.0.0.0',
port: Number(env.VITE_APP_PORT),