Skip to content

Commit e35923c

Browse files
authored
fix(rsbuild-plugin): add more MF packages to source.include (#4128)
1 parent 5d302e4 commit e35923c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/rsbuild-plugin/src/cli/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,7 @@ export const pluginModuleFederation = (
232232
// adding to include and let SWC transform it
233233
config.source.include = [
234234
...(config.source.include || []),
235-
/@module-federation\/webpack-bundler-runtime/,
236-
/@module-federation\/runtime/,
237-
/@module-federation\/runtime-core/,
238-
/@module-federation\/sdk/,
235+
/@module-federation[\\/]/,
239236
];
240237

241238
return config;

0 commit comments

Comments
 (0)