@@ -951,6 +951,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
951951 nodeEnv: false ,
952952 concatenateModules: true ,
953953 sideEffects: ' flag' ,
954+ runtimeChunk: undefined ,
954955 avoidEntryIife: true
955956 },
956957 plugins : [
@@ -975,7 +976,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
975976 name: ' RslibPlugin' ,
976977 _args: [
977978 {
978- interceptApiPlugin: true
979+ interceptApiPlugin: true ,
980+ forceNodeShims: true
979981 }
980982 ]
981983 },
@@ -1673,7 +1675,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
16731675 name: ' RslibPlugin' ,
16741676 _args: [
16751677 {
1676- interceptApiPlugin: true
1678+ interceptApiPlugin: true ,
1679+ forceNodeShims: true
16771680 }
16781681 ]
16791682 },
@@ -2276,7 +2279,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
22762279 name: ' RslibPlugin' ,
22772280 _args: [
22782281 {
2279- interceptApiPlugin: true
2282+ interceptApiPlugin: true ,
2283+ forceNodeShims: true
22802284 }
22812285 ]
22822286 },
@@ -2878,7 +2882,8 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
28782882 name: ' RslibPlugin' ,
28792883 _args: [
28802884 {
2881- interceptApiPlugin: true
2885+ interceptApiPlugin: true ,
2886+ forceNodeShims: true
28822887 }
28832888 ]
28842889 },
@@ -3020,7 +3025,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
30203025 use: [
30213026 /* config.module.rule('css').use('mini-css-extract') */
30223027 {
3023- loader: ' <ROOT>/node_modules/<PNPM_INNER>/@ rspack/core /dist/cssExtractLoader.js'
3028+ loader: ' /Users/bytedance/libs/ rspack-esm-lib-plugin/packages/rspack /dist/cssExtractLoader.js'
30243029 },
30253030 /* config.module.rule('css').use('css') */
30263031 {
@@ -3690,6 +3695,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
36903695 " optimization" : {
36913696 " avoidEntryIife" : true ,
36923697 " concatenateModules" : true ,
3698+ " runtimeChunk" : undefined ,
36933699 " sideEffects" : " flag" ,
36943700 " splitChunks" : {
36953701 " chunks" : " async" ,
@@ -3708,6 +3714,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
37083714 RslibPlugin {
37093715 " _args" : [
37103716 {
3717+ " forceNodeShims" : true ,
37113718 " interceptApiPlugin" : true ,
37123719 },
37133720 ],
@@ -3990,6 +3997,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
39903997 RslibPlugin {
39913998 " _args" : [
39923999 {
4000+ " forceNodeShims" : true ,
39934001 " interceptApiPlugin" : true ,
39944002 },
39954003 ],
@@ -4233,6 +4241,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
42334241 RslibPlugin {
42344242 " _args" : [
42354243 {
4244+ " forceNodeShims" : true ,
42364245 " interceptApiPlugin" : true ,
42374246 },
42384247 ],
@@ -4475,6 +4484,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
44754484 RslibPlugin {
44764485 " _args" : [
44774486 {
4487+ " forceNodeShims" : true ,
44784488 " interceptApiPlugin" : true ,
44794489 },
44804490 ],
0 commit comments