-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Webpack CLI - Define features and tasks of the package #4
Comments
Definitely some things I think where this could be super useful.:
...I have a lot more I'm kind of excited to add to this list lol.. but these are first that come to mind. |
Here a sumarized list of the on going discussion about the features of this package. Goal of webpack-cliBe a command line tool to help developers to configure and understand webpack. It would be a joint action of the webpack team to achieve the main goal of helping devs not only to understand webpack, but also to use it without troubles.
List of suggested features
More detailed description of the suggested featuresOriginal comment here: webpack/webpack#3466 (comment)
A way to build a basic webpack configuration. Exactly like webpack-init. We need to cover the following.
Adds prewritten config setup to add new loaders, plugins
Like ember generate where it can add scaffold for the user to fill up functionality.
Save the working config options to the existing webpack config file or create a new config file. Need also an override to rewrite configs.
Validate existing configuration using webpack's schema validator, give meaningful error messages. Nice to have would be to give helpful improvement hints.
Kickass help with elaborate examples. List of similar initiativeswebpack/webpack#3466 (comment) Example commands
List of open questionswebpack/webpack#3466 (comment) @ev1stensberg @pksjce @TheLarkInn @michael-ciniawsky @sokra @carlos- Am I missing something? I'd say that from this list, we should prioritize the features that we find more relevant to ease the setup process. However, having a clear list of features is also very relevant. Also, something that we would need also to document and define clearly, is what will be the difference between the |
For the init solution we can prompt this from Mink. Install it, use |
@DanielaValero, the list lgtm. I would prioritize them as you suggested. I understand I agree documentation will be also very important, so people do not get confused. |
@carlos- It's going to be |
@ev1stensberg tbh, I think mink kind of takes it a little further than what makes sense for I think there's value in keeping the idea of |
@hulkish Oh, yeah that's going to be included, but old naming is preserved. We're adding |
What I meant with Mink is that we could reuse some of the interface implementation. It's too broad trying to support all libraries in 1 project, that's why it's best to have an implementation similar to yeoman, but we can look at Mink for implementation insight. |
@ev1stensberg agreed, I think maybe allowing for an options like |
We've discussed inline options, could be better to have that as a question in inquirer instead. Else, there should/is going to be an opportunity to create an own package where you'd get that added. |
I don't really know where I can fit in on this... but I'd love to help - point me in the direciton! @ev1stensberg @DanielaValero |
Send a message to @pksjce , maybe she has some acorn stuff she needs help with! |
Hello @hulkish We are at the moment setting some ground work, and organizing the features, roadmap, etc. Once we've nailed it, and have the groundwork in place, there will be more clear tasks that you or anyone can pick up to help out. Greetings |
Will close now as we have already a github issue per feature. We will add in the first stage apart from the options to the compiler, an All the rest: Feel free to reopen in case a prio 1 feature is not listed within our roadmap and/or has its own issue opened in order to be part of the first version |
We are at the moment setting up most of the groundwork of the project. In order to move forward we need to define the set of features and tasks that the project needs.
In the slack channel we have agreed that we would like to work with a TDD approach. Therefore setting up the TDD would be the first step.
Also, most of the conversation about the features, is being held at the webpack repo in this issue webpack/webpack#3466
So far, the lists of tasks would be:
The text was updated successfully, but these errors were encountered: