mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 04:42:28 +08:00
refactor(client): set up manual chunk for CKEditor
This commit is contained in:
parent
42ccdd1646
commit
d199fc322e
1 changed files with 4 additions and 1 deletions
|
|
@ -84,7 +84,10 @@ export default defineConfig(() => ({
|
|||
output: {
|
||||
entryFileNames: "src/[name].js",
|
||||
chunkFileNames: "src/[name].js",
|
||||
assetFileNames: "src/[name].[ext]"
|
||||
assetFileNames: "src/[name].[ext]",
|
||||
manualChunks: {
|
||||
"ckeditor5": [ "@triliumnext/ckeditor5" ]
|
||||
},
|
||||
},
|
||||
onwarn(warning, rollupWarn) {
|
||||
if (warning.code === "MODULE_LEVEL_DIRECTIVE") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue