Webpack: expressing module dependency
问题 I'm trying to require the bootstrap-webpack module in my webpacked application. It appears to need jQuery, since the bundled javascript then throws the following: Uncaught ReferenceError: jQuery is not defined How do I go about specifying to webpack that jQuery is a dependency for the bootstrap-webpack module, to fix this issue? It feels like it should be trivial, but I've been struggling to figure it out. I've tried adding: "jquery": "latest" to the dependecies in the bootstrap-webpack's