fix
This commit is contained in:
1 parent
056a40b31f
commit
01ae14b445
3 files changed
+14
-7
No files matched your search
+5
-2
@@ -9,6 +9,7 @@ export default defineConfig({
|
||||
template: "./index.html",
|
||||
},
|
||||
source: {
|
||||
include: [/node_modules[\\/]marked[\\/]/],
|
||||
entry: {
|
||||
index: "./src/main.ts",
|
||||
},
|
||||
@@ -26,8 +27,10 @@ export default defineConfig({
|
||||
chunkSplit: {
|
||||
strategy: "split-by-experience",
|
||||
forceSplitting: {
|
||||
"lib-ui": /node_modules[\\/]naive-ui/,
|
||||
"lib-cm": /node_modules[\\/]@codemirror/,
|
||||
"lib-ui": /node_modules[\\/]naive-ui[\\/]/,
|
||||
"lib-cm": /node_modules[\\/]@codemirror[\\/]/,
|
||||
"lib-marked": /node_modules[\\/]marked[\\/]/,
|
||||
"lib-hljs": /node_modules[\\/]highlight\.js[\\/]/,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user