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

Adding more functionality #8

Open
pksjce opened this issue Nov 21, 2016 · 1 comment
Open

Adding more functionality #8

pksjce opened this issue Nov 21, 2016 · 1 comment

Comments

@pksjce
Copy link
Contributor

pksjce commented Nov 21, 2016

Hi,
This is a lovely little cli made for webpack. I assume it might be inspired by eslint and npm. I think webpack needs such a tool and had decided to work on something like this. But then I discovered your tool and thought that it would be better to collaborate with you to improve this if you are up for it.

I believe it can be improved by

  1. Add webpack schema validation as now the schema validator is exposed in the webpack codebase.

  2. Add more functionality in the form of plugins, better questions etc.

  • Do you use ES6? (Adds babel loader)
  • Which css framework do you use? (sass, less, css)
  • Do you want to extract the css to a separate file? (adds extract text plugin)
    Also, we want to make it easy for people to add new questions
  1. Adopt syntax for webpack 2.

I am quite interested in working on this. If you are busy, I could take over this project with the right permissions. Either ways, I'd love to have your feedback.

  1. Future
    I feel the current webpack cli is really flawed and there is scope for an outside pluggable cli. This could evolve into such a project, though I really don't know if the core team has any such plan. I am very interested to spend my time on this and see where it goes.
@agirton
Copy link
Owner

agirton commented Nov 21, 2016

Hi @pksjce,

Thank you for the kind words! We could use the schema validator, but since we are building it out for the user, not sure how useful it would be.

The init could add more plugins, I kept the questions vague assuming they knew which loaders they needed. But if the user is new to webpack, they might not know what a loader is or what they need. So rewording could help new users.

In regards to allowing the user to add new answers themselves, I feel this would defeat the purpose of this package since it's supposed to be a one and done type of thing. If they need to add a new question they could open a PR 😄.

If you would like to help, Pull Requests are welcome! 😄

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

No branches or pull requests

2 participants