Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Read the types of mode available from webpack #391

Closed
ematipico opened this issue Apr 9, 2018 · 3 comments
Closed

[Feature] Read the types of mode available from webpack #391

ematipico opened this issue Apr 9, 2018 · 3 comments

Comments

@ematipico
Copy link
Contributor

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
At the moment the available type of --mode are hardcoded

What is the desired behavior?
The cli should retrieve/read the available type of --mode from webpack

If this is a feature request, what is motivation or use case for changing the behavior?
To make the cli less hardcoded and flexible

@ematipico ematipico changed the title [Feature] [Feature] Read the types of mode available from webpack Apr 9, 2018
@matheus1lva
Copy link
Member

I can do that. They are found at the schemas file, right? I found them there, just want to make sure it is the right place.

@dhruvdutt
Copy link
Member

@playma256 Yep, read it from here webpack/webpack:schemas/WebpackOptions.json@master.

@matheus1lva
Copy link
Member

I'm just restesting another pr, i will do that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants