-
-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature(config-test): Evaluating the webpack configs. #803
Comments
yes let's do this |
just use webpack validate schema for checking |
Can't this be a part of #588 which will essentially do both -
So we'll get both functionalities out of it, but yeah a separate package will be a more external thing which people can use to validate their configs. 👍 |
Config evaluation in sep feat |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
For the config evaluation, we could do the following:
|
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
This issue had no activity for at least half a year. It's subject to automatic issue closing if there is no activity in the next 15 days. |
Core already does the schema validation of the config passed, do we need this? |
I think test command will be great, it is very easy to implement |
something like |
no, it should be command |
|
Is your feature request related to a problem? Please describe.
Webpack has a steep learning curve, I still remember those difficulties I have faced in my early days with webpack when my webpack config didn't works as I expected it to be.
Describe the solution you'd like
Creating a cli package called
test
, which takes the webpack config -> Analyzes it. It will log the error in the config if any. Not only this, the main feature of this package would be that it shows warning if you are doing something wrong. Something wrong means your webpack config could work but you can make some tweaks (which the webpack suggests) in your config in order to get the best performance.This could be a game changer if paired with the upcoming cli UI.
It's like eslint on configs.
Describe alternatives you've considered
Additional context
Can't say about its scope, so let's discuss 🔥
The text was updated successfully, but these errors were encountered: