Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanayan committed Jun 19, 2021
1 parent 9970767 commit b9feb0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ module.exports = {
useExternalRemotesPlugin && new ExternalTemplateRemotesPlugin(),
].filter(Boolean);

cracoConfig.webpack.plugins.remove = ["WebpackManifestPlugin"];

cracoConfig.webpack.plugins.remove = [
...cracoConfig.webpack.plugins.remove,
...(cracoConfig.webpack.plugins.remove || []),
"WebpackManifestPlugin",
removeWatchMissingNodeModulesPlugin && "WatchMissingNodeModulesPlugin",
].filter(Boolean);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "craco-module-federation",
"version": "1.0.2",
"version": "1.0.3",
"description": "Enable Module Federation your CRA project without ejecting or losing update support of react-scripts",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit b9feb0d

Please sign in to comment.