Описание тега webpack-externals
NoneWebpack configuration option to specify dependencies that should be excluded from bundle
If your javascript source code imports jquery
import jquery from 'jquery';
but you do not want to include it into the bundle (and want to use CDN instead), specify it this way:
module.exports = {
externals: {
jquery: 'jQuery'
},
// ...
};