When you have a dependency that does not export itself properly, you can use the exports-loader
to force it to export the pieces of the file that you need.
Can you please help me understand how to set-up for a multi-tenant app?
Webpack is doing tree shaking. Is that files, which are imported using the export-loader?
I don't think that it will work with files imported using the export-loader
. It only works with files that are using ES Modules.
The download link appears to download lesson #11.