Vue CLI 3 does not convert vendors to ES5
Create a file called babel.config.js
in the same directory as your vue.config.js
file.
In this file your going to want to add :-
process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true;module.exports = { presets: ["@vue/app"]};
This should now use babel to transpile external modules.
This should be used in conjunction with the transpileDependencies
option in vue.config.js
.