Skip to content

Commit 106e2de

Browse files
committed
fix: should enable Rsbuild minification
1 parent 27dae7d commit 106e2de

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ Build metrics:
161161

162162
| Name | Build (no cache) | Build (with cache) | Memory (RSS) | Output size | Gzipped size |
163163
| ----------------------- | ---------------- | ------------------ | ------------ | ----------- | ------------ |
164-
| Rspack CLI 2.0.0-beta.6 | 662ms | 464ms | 236MB🥉 | 1007.8kB🥈 | 270.9kB🥈 |
165-
| Rsbuild 2.0.0-beta.8 | 487ms🥉 | 294ms🥈 | 226MB🥈 | 2710.8kB | 457.2kB |
166-
| Rolldown 1.0.0-rc.9 | 364ms🥈 | 297ms🥉 | 222MB🥇 | 1012.2kB🥉 | 271.8kB🥉 |
164+
| Rspack CLI 2.0.0-beta.6 | 662ms | 464ms | 236MB🥉 | 1007.8kB🥉 | 270.9kB🥈 |
165+
| Rsbuild 2.0.0-beta.8 | 487ms🥉 | 294ms🥈 | 226MB🥈 | 1007.6kB🥈 | 271.8kB🥉 |
166+
| Rolldown 1.0.0-rc.9 | 364ms🥈 | 297ms🥉 | 222MB🥇 | 1012.2kB | 271.8kB🥉 |
167167
| webpack 5.105.4 | 3179ms | 1005ms | 625MB | 1006.0kB🥇 | 270.6kB🥇 |
168168
| esbuild 0.27.4 | 263ms🥇 | 218ms🥇 | N/A | 1025.2kB | 276.7kB |
169169

cases/rome/rsbuild.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default defineConfig({
1212
},
1313
output: {
1414
target: 'node',
15+
minify: true,
1516
overrideBrowserslist: [targetBrowser],
1617
},
1718
tools: {

0 commit comments

Comments
 (0)