-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
3.0.0-rc.3
Reproduction link
MarvinXu/vue-cli-mpa-test@c591575
Steps to reproduce
https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-plugin
module.exports = {
chainWebpack: config => {
config
.plugin('html')
.tap(args => {
args[0].template = '/Users/username/proj/app/templates/index.html'
return args
})
}
}
npm run serve
What is expected?
no error
What is actually happening?
TypeError: Cannot read property '__expression' of undefined
IhorKlimov, nuochong, lianxuify and 1c7