@@ -931,7 +931,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
931931 toplevel: true
932932 }
933933 },
934- extractComments: true
934+ extractComments: true ,
935+ test: / \\ . [cm] ? jsx? (\\ ? . * )? $ /
935936 }
936937 )
937938 ],
@@ -1627,7 +1628,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
16271628 toplevel: true
16281629 }
16291630 },
1630- extractComments: true
1631+ extractComments: true ,
1632+ test: / \\ . [cm] ? jsx? (\\ ? . * )? $ /
16311633 }
16321634 )
16331635 ],
@@ -2230,7 +2232,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
22302232 toplevel: true
22312233 }
22322234 },
2233- extractComments: true
2235+ extractComments: true ,
2236+ test: / \\ . [cm] ? jsx? (\\ ? . * )? $ /
22342237 }
22352238 )
22362239 ],
@@ -2831,7 +2834,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
28312834 toplevel: true
28322835 }
28332836 },
2834- extractComments: true
2837+ extractComments: true ,
2838+ test: / \\ . [cm] ? jsx? (\\ ? . * )? $ /
28352839 }
28362840 )
28372841 ],
@@ -3401,7 +3405,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
34013405 toplevel: false
34023406 }
34033407 },
3404- extractComments: true
3408+ extractComments: true ,
3409+ test: / \\ . [cm] ? jsx? (\\ ? . * )? $ /
34053410 }
34063411 )
34073412 ],
@@ -3559,6 +3564,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
35593564 " mangle" : false ,
35603565 " minify" : false ,
35613566 },
3567+ " test" : / \\\\\\ . \\ [cm\\ ] \\ ? jsx\\ ? \\ (\\\\\\ ? \\ . \\ * \\ )\\ ? \\ $ / ,
35623568 },
35633569 },
35643570 " overrideBrowserslist" : [
@@ -3572,6 +3578,10 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
35723578 },
35733579 },
35743580 " plugins" : [
3581+ {
3582+ " name" : " rslib:bundle" ,
3583+ " setup" : [Function ],
3584+ },
35753585 {
35763586 " name" : " rsbuild:disable-url-parse" ,
35773587 " setup" : [Function ],
@@ -3835,6 +3845,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
38353845 " mangle" : false ,
38363846 " minify" : false ,
38373847 },
3848+ " test" : / \\\\\\ . \\ [cm\\ ] \\ ? jsx\\ ? \\ (\\\\\\ ? \\ . \\ * \\ )\\ ? \\ $ / ,
38383849 },
38393850 },
38403851 " overrideBrowserslist" : [
@@ -3848,6 +3859,10 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
38483859 },
38493860 },
38503861 " plugins" : [
3862+ {
3863+ " name" : " rslib:bundle" ,
3864+ " setup" : [Function ],
3865+ },
38513866 {
38523867 " name" : " rsbuild:cjs-import-meta-url-shim" ,
38533868 " setup" : [Function ],
@@ -4099,6 +4114,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
40994114 " mangle" : false ,
41004115 " minify" : false ,
41014116 },
4117+ " test" : / \\\\\\ . \\ [cm\\ ] \\ ? jsx\\ ? \\ (\\\\\\ ? \\ . \\ * \\ )\\ ? \\ $ / ,
41024118 },
41034119 },
41044120 " overrideBrowserslist" : [
@@ -4112,6 +4128,10 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
41124128 },
41134129 },
41144130 " plugins" : [
4131+ {
4132+ " name" : " rslib:bundle" ,
4133+ " setup" : [Function ],
4134+ },
41154135 {
41164136 " name" : " rsbuild:fix-js-module-type" ,
41174137 " setup" : [Function ],
@@ -4338,6 +4358,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
43384358 " minify" : false ,
43394359 " module" : true ,
43404360 },
4361+ " test" : / \\\\\\ . \\ [cm\\ ] \\ ? jsx\\ ? \\ (\\\\\\ ? \\ . \\ * \\ )\\ ? \\ $ / ,
43414362 },
43424363 },
43434364 " overrideBrowserslist" : [
@@ -4351,6 +4372,10 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
43514372 },
43524373 },
43534374 " plugins" : [
4375+ {
4376+ " name" : " rslib:bundle" ,
4377+ " setup" : [Function ],
4378+ },
43544379 {
43554380 " name" : " rsbuild:fix-js-module-type" ,
43564381 " setup" : [Function ],
@@ -4522,6 +4547,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
45224547 " mangle" : false ,
45234548 " minify" : true ,
45244549 },
4550+ " test" : / \\\\\\ . \\ [cm\\ ] \\ ? jsx\\ ? \\ (\\\\\\ ? \\ . \\ * \\ )\\ ? \\ $ / ,
45254551 },
45264552 },
45274553 " overrideBrowserslist" : [
@@ -4540,6 +4566,10 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
45404566 },
45414567 },
45424568 " plugins" : [
4569+ {
4570+ " name" : " rslib:bundle" ,
4571+ " setup" : [Function ],
4572+ },
45434573 {
45444574 " name" : " rsbuild:fix-js-module-type" ,
45454575 " setup" : [Function ],
0 commit comments