-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
It always uses index-default.html
when give template
property
#2697
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
Comments
That feature of html-webpack-plugin is currently not supported. I'll mark it as a possible enhancement. |
@LinusBorg when are you gonna solve this issue |
I currently don't plan on working on this, it's pretty low priority. If you want to work on it, go ahead - I explicitly marked it as "constribution welcome" |
Hi, is somebody working on this issue? If not, I would like to work on it. |
It seems to be free, so go ahead! Thanks! :) |
Hi @LinusBorg , Do you have any suggestion for a starting point? |
@KancerEzeroglu 看这个文件 |
@KancerEzeroglu You may find the line 148 of that file |
Any progress? @fengxinming Can you update the reproduction link? |
Version
3.0.4
Reproduction link
https://github.com/fengxinming/vuecli3-demo
Node and OS info
node v8.11.1, npm 6.4.1, macOS
Steps to reproduce
npm i
npm run build
What is expected?
public/index.pug
is compiled todist/index.html
What is actually happening?
index-default.html
is compiled todist/index.html
190 // resolve page index template
191 const hasDedicatedTemplate = fs.existsSync(api.resolve(template))
192 if (hasDedicatedTemplate) {
193 publicCopyIgnore.push(template)
194 }
if I use pug template as property
template
, thenhasDedicatedTemplate
still can befalse
The text was updated successfully, but these errors were encountered: