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 e25a957 commit 81201b8Copy full SHA for 81201b8
.changeset/fast-cherries-itch.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/modern-js': patch
3
4
+
5
+fix(modernjs): mfConfigPlugin should run after @modern-js/plugin-initialize
packages/modernjs/src/cli/configPlugin.ts
@@ -54,6 +54,7 @@ export const moduleFederationConfigPlugin = (
54
userConfig: InternalModernPluginOptions,
55
): CliPlugin<AppTools> => ({
56
name: '@modern-js/plugin-module-federation-config',
57
+ pre: ['@modern-js/plugin-initialize'],
58
post: ['@modern-js/plugin-module-federation'],
59
setup: async ({ useConfigContext, useAppContext }) => {
60
const modernjsConfig = useConfigContext();
0 commit comments