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