mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
fix cssCodeSplit
This commit is contained in:
+1
-6
@@ -28,9 +28,4 @@ app
|
|||||||
})
|
})
|
||||||
.use(VuetifyUseDialog)
|
.use(VuetifyUseDialog)
|
||||||
.mount('#app')
|
.mount('#app')
|
||||||
|
.$nextTick(() => removeEl('#loading-bg'))
|
||||||
// 小屏幕下1s后移除loading
|
|
||||||
if (window.innerWidth < 1024)
|
|
||||||
setTimeout(() => removeEl('#loading-bg'), 1000)
|
|
||||||
else
|
|
||||||
removeEl('#loading-bg')
|
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
chunkSizeWarningLimit: 5000,
|
chunkSizeWarningLimit: 5000,
|
||||||
|
cssCodeSplit: false,
|
||||||
},
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: ['vuetify'],
|
exclude: ['vuetify'],
|
||||||
|
|||||||
Reference in New Issue
Block a user