Skip to content

Commit

Permalink
chore(dep): upgrade react-dev-utils to support webpack5 (#67) (#72)
Browse files Browse the repository at this point in the history
Co-authored-by: dengbin03 <dengbin03@kuaishou.com>
  • Loading branch information
chang-ke and dengbin03 authored Aug 30, 2021
1 parent 2da8a4d commit e5cc4c5
Show file tree
Hide file tree
Showing 5 changed files with 943 additions and 1,689 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 e5cc4c5

Please sign in to comment.