gowravshekar / bootstrap-webpack

bootstrap package for webpack
MIT License
135 stars 22 forks source link

Use `imports-loader` to provide jQuery #32

Closed xxr3376 closed 8 years ago

xxr3376 commented 8 years ago

I am trying to create a bundle.js, and using exports-loader in chunks may lead to jQuery undefined sometimes. By using imports-loader, webpack understand dependencies better and work well.

imports-loader makes webpack understand more about dependencies that just export jQuery into global namespace.