@@ -7,7 +7,9 @@ exports[`webpackConfig > should allow to append and prepend plugins 1`] = `
77 " foo" : " 2" ,
88 },
99 } ,
10- RsbuildCorePlugin { } ,
10+ {
11+ " name" : " RsbuildCorePlugin" ,
12+ } ,
1113 MiniCssExtractPlugin {
1214 " _sortedModulesCache" : WeakMap {},
1315 " options" : {
@@ -124,7 +126,9 @@ exports[`webpackConfig > should allow to use tools.webpackChain to modify config
124126{
125127 " devtool" : " eval" ,
126128 " plugins" : [
127- RsbuildCorePlugin {},
129+ {
130+ " name" : " RsbuildCorePlugin" ,
131+ },
128132 ],
129133}
130134` ;
@@ -133,7 +137,9 @@ exports[`webpackConfig > should allow tools.webpack to be an array 1`] = `
133137{
134138 " devtool" : " source-map" ,
135139 " plugins" : [
136- RsbuildCorePlugin {},
140+ {
141+ " name" : " RsbuildCorePlugin" ,
142+ },
137143 ],
138144}
139145` ;
@@ -142,7 +148,9 @@ exports[`webpackConfig > should allow tools.webpack to be an object 1`] = `
142148{
143149 " devtool" : " eval" ,
144150 " plugins" : [
145- RsbuildCorePlugin {},
151+ {
152+ " name" : " RsbuildCorePlugin" ,
153+ },
146154 ],
147155}
148156` ;
@@ -151,7 +159,9 @@ exports[`webpackConfig > should allow tools.webpack to modify config object 1`]
151159{
152160 " devtool" : " eval-cheap-source-map" ,
153161 " plugins" : [
154- RsbuildCorePlugin {},
162+ {
163+ " name" : " RsbuildCorePlugin" ,
164+ },
155165 ],
156166}
157167` ;
@@ -160,7 +170,9 @@ exports[`webpackConfig > should allow tools.webpack to return config 1`] = `
160170{
161171 " devtool" : " eval" ,
162172 " plugins" : [
163- RsbuildCorePlugin {},
173+ {
174+ " name" : " RsbuildCorePlugin" ,
175+ },
164176 ],
165177}
166178` ;
@@ -169,7 +181,9 @@ exports[`webpackConfig > should allow tools.webpackChain to be an array 1`] = `
169181{
170182 " devtool" : " source-map" ,
171183 " plugins" : [
172- RsbuildCorePlugin {},
184+ {
185+ " name" : " RsbuildCorePlugin" ,
186+ },
173187 ],
174188}
175189` ;
@@ -178,7 +192,9 @@ exports[`webpackConfig > should provide mergeConfig util in tools.webpack functi
178192{
179193 " devtool" : " eval" ,
180194 " plugins" : [
181- RsbuildCorePlugin {},
195+ {
196+ " name" : " RsbuildCorePlugin" ,
197+ },
182198 ],
183199}
184200` ;
0 commit comments