File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ export class ModuleFederationPlugin implements RspackPluginInstance {
136136 } ) . apply ( compiler ) ;
137137 }
138138
139- options . implementation = options . implementation || RuntimeToolsPath ;
139+ const implementationPath = options . implementation || RuntimeToolsPath ;
140+ options . implementation = implementationPath ;
140141 let disableManifest = options . manifest === false ;
141142 let disableDts = options . dts === false ;
142143
@@ -166,7 +167,7 @@ export class ModuleFederationPlugin implements RspackPluginInstance {
166167 for ( const candidate of candidates ) {
167168 try {
168169 return require . resolve ( candidate , {
169- paths : [ options . implementation ] ,
170+ paths : [ implementationPath ] ,
170171 } ) ;
171172 } catch { }
172173 }
You can’t perform that action at this time.
0 commit comments