Skip to content

Commit

Permalink
chore(dep): Upgrade react-dev-utils to support webpack5 (gregberge#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
dengbin03 committed Apr 12, 2021
1 parent 2da8a4d commit d735455
Show file tree
Hide file tree
Showing 5 changed files with 943 additions and 1,683 deletions.
10 changes: 5 additions & 5 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"private": true,
"scripts": {
"start": "webpack-dev-server"
"start": "webpack serve --mode development --env development"
},
"devDependencies": {
"html-webpack-plugin": "^4.5.0",
"webpack": "^4.0.0",
"webpack-cli": "^3.0.0",
"webpack-dev-server": "^3.11.0"
"html-webpack-plugin": "^5.3.1",
"webpack": "^5.31.2",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
}
}
5 changes: 4 additions & 1 deletion example/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ module.exports = {
},
plugins: [new ErrorOverlayPlugin(), new HtmlWebpackPlugin()],
devtool: 'cheap-module-source-map', // 'eval' is not supported by error-overlay-webpack-plugin
devServer: {},
devServer: {
port: 8080,
open: true,
},
}
Loading

0 comments on commit d735455

Please sign in to comment.