The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Expose modules to dependencies with Webpack

Expose modules to dependencies with Webpack

3:20
When you have a dependency that has dependencies on global variables (like jQuery or lodash) or assumes that `this` is bound to `window`, you can use the [imports-loader](https://github.com/webpack/imports-loader) to provide those dependencies explicitly.
Watch this lesson now
Avatar
egghead.io

When you have a dependency that has dependencies on global variables (like jQuery or lodash) or assumes that this is bound to window, you can use the imports-loader to provide those dependencies explicitly.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?