Files
code/rsbuild.config.ts
yuetsh d3dfca2fe5
Some checks failed
Deploy / build-and-deploy (push) Has been cancelled
fix
2026-06-01 05:48:02 -06:00

27 lines
529 B
TypeScript

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",
},
},
output: {
polyfill: "usage",
},
performance: {
chunkSplit: {
strategy: "split-by-module",
// forceSplitting: {
// "lib-ui": /node_modules[\\/]naive-ui/,
// "lib-cm": /node_modules[\\/]@codemirror/,
// },
},
},
})