@@ -149,7 +149,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
149
149
" loader" : " builtin:swc-loader" ,
150
150
" options" : {
151
151
" env" : {
152
- " coreJs" : " 3.40 " ,
152
+ " coreJs" : " 3.39 " ,
153
153
" mode" : " entry" ,
154
154
" targets" : [
155
155
" > 0.01%" ,
@@ -228,7 +228,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
228
228
" loader" : " builtin:swc-loader" ,
229
229
" options" : {
230
230
" env" : {
231
- " coreJs" : " 3.40 " ,
231
+ " coreJs" : " 3.39 " ,
232
232
" mode" : " entry" ,
233
233
" targets" : [
234
234
" > 0.01%" ,
@@ -314,7 +314,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
314
314
" type" : " asset" ,
315
315
},
316
316
],
317
- " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ | cur \\ )\\ $ / i ,
317
+ " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ )\\ $ / i ,
318
318
},
319
319
{
320
320
" oneOf" : [
@@ -631,7 +631,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
631
631
" loader" : " builtin:swc-loader" ,
632
632
" options" : {
633
633
" env" : {
634
- " coreJs" : " 3.40 " ,
634
+ " coreJs" : " 3.39 " ,
635
635
" mode" : " entry" ,
636
636
" targets" : [
637
637
" > 0.01%" ,
@@ -723,7 +723,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
723
723
" loader" : " builtin:swc-loader" ,
724
724
" options" : {
725
725
" env" : {
726
- " coreJs" : " 3.40 " ,
726
+ " coreJs" : " 3.39 " ,
727
727
" mode" : " entry" ,
728
728
" targets" : [
729
729
" > 0.01%" ,
@@ -886,9 +886,7 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
886
886
" hints" : false ,
887
887
},
888
888
" plugins" : [
889
- {
890
- " name" : " RsbuildCorePlugin" ,
891
- },
889
+ RsbuildCorePlugin {},
892
890
HotModuleReplacementPlugin {
893
891
" name" : " HotModuleReplacementPlugin" ,
894
892
},
@@ -1005,13 +1003,13 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
1005
1003
},
1006
1004
" extensionAlias" : {
1007
1005
" .js" : [
1008
- " .js" ,
1009
1006
" .ts" ,
1010
1007
" .tsx" ,
1008
+ " .js" ,
1011
1009
],
1012
1010
" .jsx" : [
1013
- " .jsx" ,
1014
1011
" .tsx" ,
1012
+ " .jsx" ,
1015
1013
],
1016
1014
},
1017
1015
" extensions" : [
@@ -1306,7 +1304,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
1306
1304
" type" : " asset" ,
1307
1305
},
1308
1306
],
1309
- " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ | cur \\ )\\ $ / i ,
1307
+ " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ )\\ $ / i ,
1310
1308
},
1311
1309
{
1312
1310
" oneOf" : [
@@ -1767,9 +1765,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
1767
1765
" hints" : false ,
1768
1766
},
1769
1767
" plugins" : [
1770
- {
1771
- " name" : " RsbuildCorePlugin" ,
1772
- },
1768
+ RsbuildCorePlugin {},
1773
1769
DefinePlugin {
1774
1770
" _args" : [
1775
1771
{
@@ -1821,13 +1817,13 @@ exports[`uni-builder rspack > should generator rspack config correctly when node
1821
1817
},
1822
1818
" extensionAlias" : {
1823
1819
" .js" : [
1824
- " .js" ,
1825
1820
" .ts" ,
1826
1821
" .tsx" ,
1822
+ " .js" ,
1827
1823
],
1828
1824
" .jsx" : [
1829
- " .jsx" ,
1830
1825
" .tsx" ,
1826
+ " .jsx" ,
1831
1827
],
1832
1828
},
1833
1829
" extensions" : [
@@ -1999,7 +1995,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
1999
1995
" loader" : " builtin:swc-loader" ,
2000
1996
" options" : {
2001
1997
" env" : {
2002
- " coreJs" : " 3.40 " ,
1998
+ " coreJs" : " 3.39 " ,
2003
1999
" mode" : " entry" ,
2004
2000
" targets" : [
2005
2001
" > 0.01%" ,
@@ -2078,7 +2074,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
2078
2074
" loader" : " builtin:swc-loader" ,
2079
2075
" options" : {
2080
2076
" env" : {
2081
- " coreJs" : " 3.40 " ,
2077
+ " coreJs" : " 3.39 " ,
2082
2078
" mode" : " entry" ,
2083
2079
" targets" : [
2084
2080
" > 0.01%" ,
@@ -2164,7 +2160,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
2164
2160
" type" : " asset" ,
2165
2161
},
2166
2162
],
2167
- " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ | cur \\ )\\ $ / i ,
2163
+ " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ )\\ $ / i ,
2168
2164
},
2169
2165
{
2170
2166
" oneOf" : [
@@ -2481,7 +2477,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
2481
2477
" loader" : " builtin:swc-loader" ,
2482
2478
" options" : {
2483
2479
" env" : {
2484
- " coreJs" : " 3.40 " ,
2480
+ " coreJs" : " 3.39 " ,
2485
2481
" mode" : " entry" ,
2486
2482
" targets" : [
2487
2483
" > 0.01%" ,
@@ -2573,7 +2569,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
2573
2569
" loader" : " builtin:swc-loader" ,
2574
2570
" options" : {
2575
2571
" env" : {
2576
- " coreJs" : " 3.40 " ,
2572
+ " coreJs" : " 3.39 " ,
2577
2573
" mode" : " entry" ,
2578
2574
" targets" : [
2579
2575
" > 0.01%" ,
@@ -2771,9 +2767,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
2771
2767
" hints" : false ,
2772
2768
},
2773
2769
" plugins" : [
2774
- {
2775
- " name" : " RsbuildCorePlugin" ,
2776
- },
2770
+ RsbuildCorePlugin {},
2777
2771
CssExtractRspackPlugin {
2778
2772
" options" : {
2779
2773
" chunkFilename" : " static/css/async/[name].[contenthash:8].css" ,
@@ -2875,13 +2869,13 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
2875
2869
},
2876
2870
" extensionAlias" : {
2877
2871
" .js" : [
2878
- " .js" ,
2879
2872
" .ts" ,
2880
2873
" .tsx" ,
2874
+ " .js" ,
2881
2875
],
2882
2876
" .jsx" : [
2883
- " .jsx" ,
2884
2877
" .tsx" ,
2878
+ " .jsx" ,
2885
2879
],
2886
2880
},
2887
2881
" extensions" : [
@@ -3147,7 +3141,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
3147
3141
" type" : " asset" ,
3148
3142
},
3149
3143
],
3150
- " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ | cur \\ )\\ $ / i ,
3144
+ " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ )\\ $ / i ,
3151
3145
},
3152
3146
{
3153
3147
" oneOf" : [
@@ -3590,9 +3584,7 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
3590
3584
" hints" : false ,
3591
3585
},
3592
3586
" plugins" : [
3593
- {
3594
- " name" : " RsbuildCorePlugin" ,
3595
- },
3587
+ RsbuildCorePlugin {},
3596
3588
DefinePlugin {
3597
3589
" _args" : [
3598
3590
{
@@ -3644,13 +3636,13 @@ exports[`uni-builder rspack > should generator rspack config correctly when serv
3644
3636
},
3645
3637
" extensionAlias" : {
3646
3638
" .js" : [
3647
- " .js" ,
3648
3639
" .ts" ,
3649
3640
" .tsx" ,
3641
+ " .js" ,
3650
3642
],
3651
3643
" .jsx" : [
3652
- " .jsx" ,
3653
3644
" .tsx" ,
3645
+ " .jsx" ,
3654
3646
],
3655
3647
},
3656
3648
" extensions" : [
@@ -4092,7 +4084,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
4092
4084
" type" : " asset" ,
4093
4085
},
4094
4086
],
4095
- " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ | cur \\ )\\ $ / i ,
4087
+ " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ )\\ $ / i ,
4096
4088
},
4097
4089
{
4098
4090
" oneOf" : [
@@ -4737,9 +4729,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
4737
4729
" hints" : false ,
4738
4730
},
4739
4731
" plugins" : [
4740
- {
4741
- " name" : " RsbuildCorePlugin" ,
4742
- },
4732
+ RsbuildCorePlugin {},
4743
4733
HotModuleReplacementPlugin {
4744
4734
" options" : {},
4745
4735
},
@@ -4884,13 +4874,13 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
4884
4874
},
4885
4875
" extensionAlias" : {
4886
4876
" .js" : [
4887
- " .js" ,
4888
4877
" .ts" ,
4889
4878
" .tsx" ,
4879
+ " .js" ,
4890
4880
],
4891
4881
" .jsx" : [
4892
- " .jsx" ,
4893
4882
" .tsx" ,
4883
+ " .jsx" ,
4894
4884
],
4895
4885
},
4896
4886
" extensions" : [
@@ -5357,7 +5347,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
5357
5347
" type" : " asset" ,
5358
5348
},
5359
5349
],
5360
- " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ | cur \\ )\\ $ / i ,
5350
+ " test" : / \\\\\\ . \\ (\\ ? :png\\ | jpg\\ | jpeg\\ | pjpeg\\ | pjp\\ | gif\\ | bmp\\ | webp\\ | ico\\ | apng\\ | avif\\ | tif\\ | tiff\\ | jfif\\ )\\ $ / i ,
5361
5351
},
5362
5352
{
5363
5353
" oneOf" : [
@@ -6073,9 +6063,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
6073
6063
" hints" : false ,
6074
6064
},
6075
6065
" plugins" : [
6076
- {
6077
- " name" : " RsbuildCorePlugin" ,
6078
- },
6066
+ RsbuildCorePlugin {},
6079
6067
MiniCssExtractPlugin {
6080
6068
" _sortedModulesCache" : WeakMap {},
6081
6069
" options" : {
@@ -6246,13 +6234,13 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
6246
6234
},
6247
6235
" extensionAlias" : {
6248
6236
" .js" : [
6249
- " .js" ,
6250
6237
" .ts" ,
6251
6238
" .tsx" ,
6239
+ " .js" ,
6252
6240
],
6253
6241
" .jsx" : [
6254
- " .jsx" ,
6255
6242
" .tsx" ,
6243
+ " .jsx" ,
6256
6244
],
6257
6245
},
6258
6246
" extensions" : [
0 commit comments