mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-09 16:44:21 +08:00
chore: disable CSS code splitting in Vite config
This commit is contained in:
parent
d9bbde9e50
commit
415063532c
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
|||
outDir: '../core/cmd/server/web',
|
||||
minify: 'esbuild',
|
||||
target: 'esnext',
|
||||
cssCodeSplit: false,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
chunkFileNames: 'assets/js/[name]-[hash].js',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue