I've created a vendor module according to UMD and set jsPDF as a dependency. How do I achieve, that jsPDF-AutoTable plugin will be registered with jsPDF before injecting jsPDF into my vendor module?
I've already solved jsPDF is not defined
using ProvidePlugin in my webpack.config.js file like this:
config.plugins = [
new webpack.ProvidePlugin({
jsPDF: 'jspdf'
})
]