Skip to content

Commit

Permalink
chore: remove set auto
Browse files Browse the repository at this point in the history
  • Loading branch information
nyqykk committed Oct 21, 2024
1 parent 721374a commit b31ad63
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/rsbuild-plugin/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ export const pluginModuleFederation = (
if (!chain.output.get('uniqueName')) {
chain.output.set('uniqueName', moduleFederationOptions.name);
}

const publicPath = chain.output.get('publicPath');
// set the default publicPath to 'auto' to make MF work
if (publicPath === '/') {
chain.output.set('publicPath', 'auto');
}
});
},
});

0 comments on commit b31ad63

Please sign in to comment.