Skip to content

[Bug]: delegate default entry assigning to core #1852

@anshumanv

Description

@anshumanv

Describe the bug

Presently we assign our own default entry which is invalid since it can be ts/mjs etc so delegate this to core, we only need to assign entry when user passes

What is the current behavior?

Entry assigned to index.js or src/index.js

To Reproduce
Add some non js index file then it won't work

Expected behavior
It should work

Screenshots

Please paste the results of webpack-cli info here, and mention other relevant information

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions