Skip to content

upgrading from 4.0.2 to 4.0.7 #2191

@akoskm

Description

@akoskm

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

No one assigned

    Labels

    dependenciesdependency, yarn or other package management

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions