-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
dependenciesdependency, yarn or other package managementdependency, yarn or other package management
Description
Upgrading from 4.0.2 to 4.0.7 introduces several devDependencies
that weren't required in 4.0.2:
"@babel/plugin-proposal-class-properties": "7.5.0",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-transform-runtime": "7.5.0",
"babel-loader": "8.0.6",
"babel-plugin-dynamic-import-node": "2.3.0",
"file-loader": "4.0.0",
"webpack-cli": "3.3.6",
"webpack-dev-server": "3.7.2"
I followed https://github.com/rails/webpacker#upgrading and https://github.com/rails/webpacker/blob/master/CHANGELOG.md to upgrade. I also copied the contents of https://github.com/rails/webpacker/blob/master/lib/install/config/babel.config.js over my local version of the same file.
I'm just curious if I'm doing something wrong that makes these new dependencies appear or this is ok.
Some of these dependencies like @babel/plugin-transform-runtime
, @babel/plugin-proposal-class-properties
were used in babel.config.js at 4.0.2 as well but webpacker worked just fine without include these packages in package.json
.
Metadata
Metadata
Assignees
Labels
dependenciesdependency, yarn or other package managementdependency, yarn or other package management