test
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-05-07 00:56:39 -06:00
parent 80aa091602
commit 0180f6e803

View File

@@ -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[\\/]/,
// },
},
},
})