1. 24
    Import a non-ES6 module with Webpack
    4m 20s

Import a non-ES6 module with Webpack

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

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.

Jean
~ 8 years ago

Can you please help me understand how to set-up for a multi-tenant app?

Maximilian Koch
~ 8 years ago

Webpack is doing tree shaking. Is that files, which are imported using the export-loader?

Kent C. Doddsinstructor
~ 8 years ago

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.

Matt O'Toole
~ 7 years ago

The download link appears to download lesson #11.