Skip to content

init command shoult use src/index.js as entry module by default #321

Closed
@montogeek

Description

@montogeek

Feature

What is the current behavior?
init command does not provide a default value for entry module.

👉  ./node_modules/.bin/webpack init

ℹ INFO For more information and a detailed description of each question, have a look at https://github.com/webpack/webpack-cli/blob/master/INIT.md
ℹ INFO Alternatively, run `webpack(-cli) --help` for usage info.

? Will your application have multiple bundles? No
? Which module will be the first to enter the application? [example: './src/index']
>> Please specify an answer!

What is the expected behavior?

init command should provide a default value src/index.js as entry module following webpack itself approach to zero configuration

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions