-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Support pug as entry file #842
Comments
With #793 & custom index.html path, you could probably make a plugin for that 😉 |
Actually, in 2.0 you can use a plugin + transformIndexHtml hook to do this. |
Unfortunately I don't think #793 solves this issue. You can't have a structure like this for example:
I've been trying to develop a Pug plugin and I got stuck. |
Is your feature request related to a problem? Please describe.
Imagine that you have several UIs depending on an environment variable, it's possible in JS land, but how would you do it in plain HTML?
Describe the solution you'd like
Support pug or any other templating language as entrypoint to allow sharing an
index.pug
and changing stuff like title, fonts, analytics,...Describe alternatives you've considered
Mustache or jinja, but pug is already supported, which makes it very convenient.
The text was updated successfully, but these errors were encountered: