Skip to content

NODE_ENV #25

@davthu

Description

@davthu

It would be great if it was possible to set the NODE_ENV variable with this plugin. I tried like this but did not work:

task installNPM(type: NodeJsTask) {
    require = ["npm"]
    executable = "npm"
    args = ['NODE_ENV=production', 'install', '--no-save']
}

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