test
This commit is contained in:
@@ -9,12 +9,13 @@ export default defineConfig({
|
||||
template: "./index.html",
|
||||
},
|
||||
source: {
|
||||
include: [/node_modules[\\/]marked[\\/]/],
|
||||
// include: [/node_modules[\\/]marked[\\/]/],
|
||||
entry: {
|
||||
index: "./src/main.ts",
|
||||
},
|
||||
},
|
||||
output: {
|
||||
target: "web",
|
||||
polyfill: "usage",
|
||||
},
|
||||
tools: {
|
||||
@@ -39,16 +40,4 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
performance: {
|
||||
chunkSplit: {
|
||||
// strategy: "split-by-experience",
|
||||
strategy: "split-by-module",
|
||||
// forceSplitting: {
|
||||
// "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