Skip to content

Commit 4b608cd

Browse files
authored
chore(deps): update Rsbuild to v1.3.19 (#7131)
1 parent 342b4d4 commit 4b608cd

File tree

18 files changed

+163
-110
lines changed

18 files changed

+163
-110
lines changed

packages/cli/plugin-swc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"dependencies": {
4141
"@modern-js/utils": "workspace:*",
42-
"@rsbuild/core": "1.3.18",
42+
"@rsbuild/core": "1.3.19",
4343
"@rsbuild/plugin-webpack-swc": "1.1.0",
4444
"@swc/helpers": "0.5.13"
4545
},

packages/cli/rsbuild-plugin-esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"webpack": "^5.98.0"
3232
},
3333
"devDependencies": {
34-
"@rsbuild/core": "1.3.18",
34+
"@rsbuild/core": "1.3.19",
3535
"@rsbuild/webpack": "1.3.0",
3636
"@scripts/build": "workspace:*",
3737
"typescript": "^5.4.2"

packages/cli/uni-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@modern-js/flight-server-transform-plugin": "workspace:*",
4040
"@modern-js/utils": "workspace:*",
4141
"@pmmmwh/react-refresh-webpack-plugin": "0.5.16",
42-
"@rsbuild/core": "1.3.18",
42+
"@rsbuild/core": "1.3.19",
4343
"@rsbuild/plugin-assets-retry": "1.2.1",
4444
"@rsbuild/plugin-babel": "1.0.5",
4545
"@rsbuild/plugin-check-syntax": "1.3.0",

packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,6 +1240,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
12401240
"templateParameters": [Function],
12411241
"title": "",
12421242
"xhtml": false,
1243+
Symbol(entryName): "index",
12431244
},
12441245
"version": 6,
12451246
},
@@ -3547,6 +3548,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
35473548
},
35483549
"viewport": "width=device-width, initial-scale=1.0",
35493550
},
3551+
"minify": [Function],
35503552
"publicPath": "auto",
35513553
"scriptLoading": "defer",
35523554
"showErrors": true,
@@ -3555,6 +3557,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
35553557
"templateParameters": [Function],
35563558
"title": "",
35573559
"xhtml": false,
3560+
Symbol(entryName): "index",
35583561
},
35593562
"version": 6,
35603563
},
@@ -5953,7 +5956,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59535956
},
59545957
"viewport": "width=device-width, initial-scale=1.0",
59555958
},
5956-
"minify": "auto",
5959+
"minify": false,
59575960
"publicPath": "auto",
59585961
"scriptLoading": "defer",
59595962
"showErrors": true,
@@ -5962,6 +5965,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59625965
"templateParameters": [Function],
59635966
"title": "",
59645967
"xhtml": false,
5968+
Symbol(entryName): "index",
59655969
},
59665970
"userOptions": {
59675971
"chunks": [
@@ -5976,11 +5980,13 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59765980
},
59775981
"viewport": "width=device-width, initial-scale=1.0",
59785982
},
5983+
"minify": false,
59795984
"scriptLoading": "defer",
59805985
"template": "",
59815986
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
59825987
"templateParameters": [Function],
59835988
"title": "",
5989+
Symbol(entryName): "index",
59845990
},
59855991
"version": 5,
59865992
},
@@ -7588,7 +7594,26 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
75887594
},
75897595
"viewport": "width=device-width, initial-scale=1.0",
75907596
},
7591-
"minify": "auto",
7597+
"minify": {
7598+
"collapseWhitespace": true,
7599+
"keepClosingSlash": true,
7600+
"minifyCSS": true,
7601+
"minifyJS": {
7602+
"format": {
7603+
"ascii_only": true,
7604+
},
7605+
"mangle": {
7606+
"safari10": true,
7607+
},
7608+
},
7609+
"minifyURLs": true,
7610+
"removeComments": false,
7611+
"removeEmptyAttributes": true,
7612+
"removeRedundantAttributes": true,
7613+
"removeScriptTypeAttributes": true,
7614+
"removeStyleLinkTypeAttributes": true,
7615+
"useShortDoctype": true,
7616+
},
75927617
"publicPath": "auto",
75937618
"scriptLoading": "defer",
75947619
"showErrors": true,
@@ -7597,6 +7622,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
75977622
"templateParameters": [Function],
75987623
"title": "",
75997624
"xhtml": false,
7625+
Symbol(entryName): "index",
76007626
},
76017627
"userOptions": {
76027628
"chunks": [
@@ -7611,11 +7637,32 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
76117637
},
76127638
"viewport": "width=device-width, initial-scale=1.0",
76137639
},
7640+
"minify": {
7641+
"collapseWhitespace": true,
7642+
"keepClosingSlash": true,
7643+
"minifyCSS": true,
7644+
"minifyJS": {
7645+
"format": {
7646+
"ascii_only": true,
7647+
},
7648+
"mangle": {
7649+
"safari10": true,
7650+
},
7651+
},
7652+
"minifyURLs": true,
7653+
"removeComments": false,
7654+
"removeEmptyAttributes": true,
7655+
"removeRedundantAttributes": true,
7656+
"removeScriptTypeAttributes": true,
7657+
"removeStyleLinkTypeAttributes": true,
7658+
"useShortDoctype": true,
7659+
},
76147660
"scriptLoading": "defer",
76157661
"template": "",
76167662
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
76177663
"templateParameters": [Function],
76187664
"title": "",
7665+
Symbol(entryName): "index",
76197666
},
76207667
"version": 5,
76217668
},

packages/cli/uni-builder/tests/__snapshots__/environment.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,7 @@ exports[`uni-builder environment compat > should generator environment config co
12411241
"templateParameters": [Function],
12421242
"title": "",
12431243
"xhtml": false,
1244+
Symbol(entryName): "index",
12441245
},
12451246
"version": 6,
12461247
},

packages/cli/uni-builder/tests/__snapshots__/minimize.test.ts.snap

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ exports[`html minify > should not apply html minify in production when disableMi
4141
},
4242
"viewport": "width=device-width, initial-scale=1.0",
4343
},
44-
"minify": "auto",
44+
"minify": false,
4545
"publicPath": "auto",
4646
"scriptLoading": "defer",
4747
"showErrors": true,
@@ -50,6 +50,7 @@ exports[`html minify > should not apply html minify in production when disableMi
5050
"templateParameters": [Function],
5151
"title": "",
5252
"xhtml": false,
53+
Symbol(entryName): "index",
5354
},
5455
"userOptions": {
5556
"chunks": [
@@ -64,11 +65,13 @@ exports[`html minify > should not apply html minify in production when disableMi
6465
},
6566
"viewport": "width=device-width, initial-scale=1.0",
6667
},
68+
"minify": false,
6769
"scriptLoading": "defer",
6870
"template": "",
6971
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
7072
"templateParameters": [Function],
7173
"title": "",
74+
Symbol(entryName): "index",
7275
},
7376
"version": 5,
7477
},
@@ -176,6 +179,7 @@ exports[`html minify > should not apply html minify when htmlPlugin.minify false
176179
"templateParameters": [Function],
177180
"title": "",
178181
"xhtml": false,
182+
Symbol(entryName): "index",
179183
},
180184
"userOptions": {
181185
"chunks": [
@@ -196,6 +200,7 @@ exports[`html minify > should not apply html minify when htmlPlugin.minify false
196200
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
197201
"templateParameters": [Function],
198202
"title": "",
203+
Symbol(entryName): "index",
199204
},
200205
"version": 5,
201206
},

packages/devtools/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@radix-ui/react-tabs": "^1.1.7",
4040
"@radix-ui/react-toast": "^1.2.10",
4141
"@radix-ui/themes": "^3.2.1",
42-
"@rsbuild/core": "1.3.18",
42+
"@rsbuild/core": "1.3.19",
4343
"@scripts/jest-config": "workspace:*",
4444
"@types/jest": "^29",
4545
"@types/lodash": "^4.14.202",

packages/devtools/plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@modern-js/server-core": "workspace:*",
7676
"@modern-js/types": "workspace:*",
7777
"@modern-js/uni-builder": "workspace:*",
78-
"@rsbuild/core": "1.3.18",
78+
"@rsbuild/core": "1.3.19",
7979
"@scripts/build": "workspace:*",
8080
"@swc/helpers": "0.5.13",
8181
"@types/node": "^14",

packages/runtime/plugin-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
"devDependencies": {
235235
"@modern-js/app-tools": "workspace:*",
236236
"@remix-run/web-fetch": "^4.1.3",
237-
"@rsbuild/core": "1.3.18",
237+
"@rsbuild/core": "1.3.19",
238238
"@scripts/build": "workspace:*",
239239
"@scripts/jest-config": "workspace:*",
240240
"@testing-library/react": "^13.4.0",

packages/server/server-runtime/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
"test": "jest --passWithNoTests"
5858
},
5959
"dependencies": {
60-
"@swc/helpers": "0.5.13",
60+
"@modern-js/runtime-utils": "workspace:*",
6161
"@modern-js/server-core": "workspace:*",
62-
"@modern-js/runtime-utils": "workspace:*"
62+
"@swc/helpers": "0.5.13"
6363
},
6464
"devDependencies": {
6565
"@scripts/build": "workspace:*",

0 commit comments

Comments
 (0)