-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
init command shoult use src/index.js
as entry module by default
#321
Comments
Can we discuss this over #315 as it's quite related? |
Actually we can leave it blank by default, as 0CJS can handle it |
Just want to add that prompting that default is |
Made a PR with this change. |
Doing same for multiple bundle case also would be a good idea. |
I am not sure you want to add something that is already default, i actually omited it in one of my PR earlier: https://github.com/webpack/webpack-cli/pull/356/files#diff-1b2b84fcd9935ef62f04b2ffd905d2c6R86 |
Feature
What is the current behavior?
init
command does not provide a default value for entry module.What is the expected behavior?
init
command should provide a default valuesrc/index.js
as entry module following webpack itself approach to zero configurationThe text was updated successfully, but these errors were encountered: