Skip to content

Commit f17442f

Browse files
authored
Update dependencies, remove @babel/plugin-proposal-class-properties (#3225)
* Improve upgrade docs * Update dependencies '@babel/plugin-proposal-class-properties seems included in the preset-env * Update v6_upgrade.md
1 parent 2f4df42 commit f17442f

File tree

4 files changed

+1002
-1106
lines changed

4 files changed

+1002
-1106
lines changed

docs/v6_upgrade.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ Example going to a specific version:
107107

108108
18. Try running `RAILS_ENV=production bin/rails assets:precompile`. If all goes well, don't forget to clean the generated assets with `bin/rails assets:clobber`.
109109

110-
19. Try your app!
110+
19. Run `yarn add webpack-dev-server` if those are not already in your dev dependencies. Make sure you're using v4+.
111+
112+
20. Try your app!
111113

112114
## Examples of v5 to v6
113115

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
},
1414
"dependencies": {
1515
"@babel/core": "^7.15.5",
16-
"@babel/plugin-proposal-class-properties": "^7.14.5",
1716
"@babel/plugin-transform-runtime": "^7.15.0",
1817
"@babel/preset-env": "^7.15.6",
1918
"@babel/runtime": "^7.15.4",

package/babel/preset.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ module.exports = function config(api) {
4242
]
4343
].filter(Boolean),
4444
plugins: [
45-
['@babel/plugin-proposal-class-properties', { loose: true }],
4645
['@babel/plugin-transform-runtime', { helpers: false }],
4746
isProductionEnv &&
4847
moduleExists('babel-plugin-transform-react-remove-prop-types') && [

0 commit comments

Comments
 (0)