Skip to content

Commit 3d62fbd

Browse files
committed
perf(fmt): minify formatter bundles
1 parent 78f8df8 commit 3d62fbd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/rstack/rslib.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineConfig } from '@rslib/core';
22
import pkgJson from './package.json' with { type: 'json' };
33

4-
const fullyMinifiedChunks = /(?:fmtWorker|staged)\.js$/;
4+
const fullyMinifiedChunks = /(?:fmt(?:Plugins)?|sortPackageJsonPlugin|staged)\.js$/;
55

66
export default defineConfig({
77
lib: [{ syntax: 'es2023', dts: true }],
@@ -32,7 +32,7 @@ export default defineConfig({
3232
css: false,
3333
jsOptions: [
3434
{
35-
// Fully minify the formatter worker and staged chunk to reduce package size.
35+
// Fully minify formatter and staged command bundles to reduce package size.
3636
include: fullyMinifiedChunks,
3737
},
3838
{

0 commit comments

Comments
 (0)