【发布时间】:2019-03-10 13:32:06
【问题描述】:
chunk-vendors.60d43f55.js:1 Uncaught TypeError: Cannot read property 'webpackJsonp' of undefined
at chunk-vendors.60d43f55.js:1
没有 --modern 模式一切正常
【问题讨论】:
chunk-vendors.60d43f55.js:1 Uncaught TypeError: Cannot read property 'webpackJsonp' of undefined
at chunk-vendors.60d43f55.js:1
没有 --modern 模式一切正常
【问题讨论】:
啊,我在 vue.config.js 中发现了问题 => 多余的 globalObject: 'this'
module.exports = {
...
configureWebpack: {
output: {
globalObject: 'this'
}
}
...
}
【讨论】: