Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

A way for using custom build arguments #124

@cmaart

Description

@cmaart

Hi all,

is there a way to pass command line parameters to ionic serve or ionic build?
In my case I have the following setup:

  • In package.json I have this script
    "build": ionic build

and i want to pass in parameters that I can use in my configs, like custom rollup config.
Example for planned usage from command line:

npm run build --stage=prod

Any help would be greatly appreciated!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions