Skip to content

Automatic index.html? #799

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

Closed
mightyiam opened this issue Feb 19, 2017 · 2 comments
Closed

Automatic index.html? #799

mightyiam opened this issue Feb 19, 2017 · 2 comments

Comments

@mightyiam
Copy link

Do I remember that in webpack 1.x the dev-server used to automatically generate an index.html on the response to / and /index.html?

Why was this removed? Not a good idea? I liked it.

@SpaceK33z
Copy link
Member

This was not removed, but it only works when your bundle filename is "index", since it uses the filename minus .js. It could also be you're talking about iframe mode, you can enable that with --no-inline.

@mightyiam
Copy link
Author

Cool. I did not see any mention of this in the docs, though.

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