Skip to content

Commit

Permalink
Bump webpack-dev-server to 4.0.0 and add babel preset
Browse files Browse the repository at this point in the history
  • Loading branch information
Konrad Stepniak committed Aug 18, 2021
1 parent 4310f22 commit 14fbd1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/babel-preset-react-app/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ module.exports = function (api, opts, env) {
loose: true,
},
],
[
require('@babel/plugin-proposal-private-property-in-object').default,
{
loose: true,
},
],
// Adds Numeric Separators
require('@babel/plugin-proposal-numeric-separator').default,
// Polyfills the runtime needed for async/await, generators, and friends
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"source-map-loader": "^1.1.2",
"style-loader": "3.0.0",
"webpack": "5.41.1",
"webpack-dev-server": "4.0.0-rc.1",
"webpack-dev-server": "4.0.0",
"webpack-manifest-plugin": "3.1.1",
"workbox-webpack-plugin": "6.1.5"
},
Expand Down

0 comments on commit 14fbd1d

Please sign in to comment.