feat: UI: lazy load (#266)

This commit is contained in:
Dream Hunter
2024-05-23 12:23:43 +08:00
committed by GitHub
parent aa04dc4efa
commit c976664f4e
5 changed files with 6 additions and 16 deletions
-9
View File
@@ -13,15 +13,6 @@ import topLevelAwait from "vite-plugin-top-level-await";
export default defineConfig({
build: {
outDir: './dist',
rollupOptions: {
output: {
manualChunks(id) {
if (id.includes('wangeditor')) {
return 'vendor-wangeditor';
}
}
}
}
},
plugins: [
vue(),