From 0180f6e803dfcabe495d77e9067d2ea2451dbfb4 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 7 May 2026 00:56:39 -0600 Subject: [PATCH] test --- rsbuild.config.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/rsbuild.config.ts b/rsbuild.config.ts index 07fcea4..855f2fe 100644 --- a/rsbuild.config.ts +++ b/rsbuild.config.ts @@ -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[\\/]/, - // }, - }, - }, })