revert
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-05-07 02:39:29 -06:00
parent 4ecd7bb229
commit c5a367622c
3 changed files with 279 additions and 46 deletions

View File

@@ -74,9 +74,10 @@ const config: ReturnType<typeof defineConfig> = defineConfig(({ envMode }) => {
},
define: publicVars,
},
output: {
target: "web",
polyfill: "usage",
performance: {
chunkSplit: {
strategy: "split-by-module",
},
},
resolve: {
alias: {
@@ -97,4 +98,4 @@ const config: ReturnType<typeof defineConfig> = defineConfig(({ envMode }) => {
}
})
export default config
export default config