I would like to configure my Vue CLI to use external library and source-maps in order to debug my application.
I found those two vue.config.js samples for external libs.
module.exports = {
chainWebpack: config => {
config.externals({ jquery: 'jQuery', bootstrap: 'bootstrap' });
}
};
and and for devtools.
module.exports = {
configureWebpack: {
devtool: 'source-map'
}
}
How can I join those both configurations?