We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b621893 commit 38b8d24Copy full SHA for 38b8d24
.changeset/shiny-gorillas-tap.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/rsbuild-plugin': patch
3
4
+
5
+fix(rsbuild-plugin): use detail source.include instead of range regexp
packages/rsbuild-plugin/src/cli/index.ts
@@ -232,7 +232,10 @@ export const pluginModuleFederation = (
232
// adding to include and let SWC transform it
233
config.source.include = [
234
...(config.source.include || []),
235
- /@module-federation[\\/]/,
+ /@module-federation\/webpack-bundler-runtime/,
236
+ /@module-federation\/runtime/,
237
+ /@module-federation\/runtime-core/,
238
+ /@module-federation\/sdk/,
239
];
240
241
return config;
0 commit comments