Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanayan committed Jun 19, 2021
1 parent 51be986 commit e76e3d1
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 @@ -31,9 +31,8 @@ module.exports = {
);

htmlWebpackPlugin.userOptions.hash = true;
if (fastRefreshEnabled && isEnvDevelopment) {
htmlWebpackPlugin.userOptions.chunks = ["main"];
}
htmlWebpackPlugin.userOptions.chunks = ["main"];
htmlWebpackPlugin.userOptions.publicPath = "/";

return webpackConfig;
},
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.4",
"version": "1.0.5",
"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 e76e3d1

Please sign in to comment.