Skip to content

Commit 851f076

Browse files
chore: update rstack
1 parent 24937f0 commit 851f076

File tree

6 files changed

+9880
-10298
lines changed

6 files changed

+9880
-10298
lines changed

config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "1.0.1",
44
"private": true,
55
"devDependencies": {
6-
"@rsbuild/core": "1.1.0",
7-
"@rslib/core": "0.1.3",
6+
"@rsbuild/core": "1.2.19",
7+
"@rslib/core": "0.5.4",
88
"@types/node": "^22.10.1",
99
"typescript": "^5.7.2"
1010
}

config/rslib.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const nodeMinifyConfig: Minify = {
1616
// preserve variable name and disable minify for easier debugging
1717
mangle: false,
1818
minify: false,
19-
compress: false,
19+
compress: true,
2020
},
2121
},
2222
};
@@ -27,8 +27,8 @@ export const pluginCleanTscCache: RsbuildPlugin = {
2727
setup(api) {
2828
api.onBeforeBuild(() => {
2929
const tsbuildinfo = path.join(
30-
api.context.rootPath,
31-
'tsconfig.tsbuildinfo',
30+
api.context.rootPath,
31+
'tsconfig.tsbuildinfo',
3232
);
3333
if (fs.existsSync(tsbuildinfo)) {
3434
fs.rmSync(tsbuildinfo);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"@react-router/dev": "^7.1.3",
6565
"@react-router/node": "^7.1.3",
6666
"@rsbuild/config": "workspace:*",
67-
"@rsbuild/core": "^1.2.3",
68-
"@rslib/core": "0.1.3",
67+
"@rsbuild/core": "^1.2.19",
68+
"@rslib/core": "^0.5.4",
6969
"@rspack/core": "^1.1.6",
7070
"@types/babel__core": "^7.6.8",
7171
"@types/babel__generator": "^7.6.8",

0 commit comments

Comments
 (0)