Skip to content

Commit

Permalink
feat: Webpack 5 support (#1903)
Browse files Browse the repository at this point in the history
* Upgrade react-dev-utils to latest version v12 (supports Webpack 5)
* Fix Webpack example for local testing
* Upgrade webpack related dependencies for maintenance: webpack, webpack-cli, and webpack-dev-server
* Remove unnecessary Webpack configuration around Hot Module Replacement. webpack-dev-server should automatically inject HMR related configurations already

Closes #1703
Closes #1864
Closes #1740
Closes #1822
Closes #1786
  • Loading branch information
juanca authored Jan 27, 2022
1 parent 6415cb6 commit 92518df
Show file tree
Hide file tree
Showing 7 changed files with 23,133 additions and 7,612 deletions.
28,647 changes: 22,071 additions & 6,576 deletions examples/webpack/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"prop-types": "^15.6.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-styleguidist": "^11.1.1",
"react-styleguidist": "file:../../",
"style-loader": "^2.0.0",
"webpack": "^5.3.2"
},
Expand Down
Loading

0 comments on commit 92518df

Please sign in to comment.