Skip to content

yarn_install task is not installing devDependencies #1212

@nikolalsvk

Description

@nikolalsvk

Due to the recent changes that have been made, webpacker:yarn_install task is not installing devDependencies. This is breaking my CI builds, since I relied on webpacker to do the install of packages for my test environment on the CI server.

Change that brought this in the webpacker gem d5fe0fe#diff-5a0f30530a2f1282593526bb85d65029
Change that brought this in the Rails gem
rails/rails@2118c98#diff-dcd44149ba1cd25c12956a3ebecc32a3

I'm just wondering if we could introduce an optional --production=true|false flag in the rake task that does yarn install?

Or create a NODE_ENV dependant flag for the rake task?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions