Closed
Description
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 to dist/index.html
What is actually happening?
index-default.html
is compiled to dist/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
, then hasDedicatedTemplate
still can be false