-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): Support webpack 2 --env (#92)
In webpack 2, your config can be a function that accepts the `env` flag as parsed from [yargs][yargs] (see [here][webpack-usage]). This will allow people to use the --env flag with the CLI for their Webpack 2 configs. [yargs]: https://github.com/yargs/yargs [webpack-usage]: https://github.com/webpack/webpack/blob/76e845914b5ff18de8d13a9c188666a60c736fd0/bin/convert-argv.js#L103
- Loading branch information
1 parent
ac24d6e
commit f01b917
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters