mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-20 19:40:59 -05:00
@@ -125,7 +125,7 @@ module.exports = (api, options) => {
|
||||
// inject html plugin for the page
|
||||
const pageHtmlOptions = Object.assign({}, htmlOptions, {
|
||||
chunks: ['chunk-vendors', 'chunk-common', name],
|
||||
template: fs.existsSync(template) ? template : defaultHtmlPath,
|
||||
template: fs.existsSync(template) ? template : (fs.existsSync(htmlPath) ? htmlPath : defaultHtmlPath),
|
||||
filename
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user