This commit is contained in:
2025-02-23 22:25:46 +08:00
parent 3b26fe4adc
commit d934111354
9 changed files with 1222 additions and 900 deletions

23
rsbuild.config.ts Normal file
View File

@@ -0,0 +1,23 @@
import { defineConfig } from "@rsbuild/core"
import { pluginVue } from "@rsbuild/plugin-vue"
export default defineConfig({
plugins: [pluginVue()],
html: {
template: "./index.html",
},
source: {
entry: {
index: "./src/main.ts",
},
},
performance: {
chunkSplit: {
strategy: "split-by-experience",
forceSplitting: {
"lib-ui": /node_modules[\\/]naive-ui/,
"lib-cm": /node_modules[\\/]@codemirror/,
},
},
},
})