I'll be honest, I don't really know how this works or how it should work, but for whatever reason, having the objectAssign option for buble in webpack.base.config.js is not enough to actually enable the feature. It has to be added to vue-loader.config.js.
I'll be honest, I don't really know how this works or how it should work, but for whatever reason, having the
objectAssign
option for buble inwebpack.base.config.js
is not enough to actually enable the feature. It has to be added tovue-loader.config.js
.Example:
Without adding the option to
vue-loader-config.js
, the following error is reported.After adding the option, it seems to transpile correctly.
Reference