1 parent 78f8df8 commit 3d62fbdCopy full SHA for 3d62fbd
1 file changed
packages/rstack/rslib.config.ts
@@ -1,7 +1,7 @@
1
import { defineConfig } from '@rslib/core';
2
import pkgJson from './package.json' with { type: 'json' };
3
4
-const fullyMinifiedChunks = /(?:fmtWorker|staged)\.js$/;
+const fullyMinifiedChunks = /(?:fmt(?:Plugins)?|sortPackageJsonPlugin|staged)\.js$/;
5
6
export default defineConfig({
7
lib: [{ syntax: 'es2023', dts: true }],
@@ -32,7 +32,7 @@ export default defineConfig({
32
css: false,
33
jsOptions: [
34
{
35
- // Fully minify the formatter worker and staged chunk to reduce package size.
+ // Fully minify formatter and staged command bundles to reduce package size.
36
include: fullyMinifiedChunks,
37
},
38
0 commit comments