We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Straight up with a require("bootstrap-webpack"); my browser says "ReferenceError: jQuery is not defined" with most of Bootstrap's script modules.
require("bootstrap-webpack");
I've added jquery as a dependency in package.json and this in webpack.config.js to fix it:
jquery
module: { loaders: [ { test: /\/bootstrap\/js\//, loader: "imports?jQuery=jquery" }, }
The text was updated successfully, but these errors were encountered:
You need to expose the (jquery, $) variables for other third party libraries to use. Use this in your entry script
require('expose?$!expose?jQuery!jquery');
Also webpack as an argument called --display-error-details that will help you debug stuff like this.
--display-error-details
Sorry, something went wrong.
No branches or pull requests
Straight up with a
require("bootstrap-webpack");
my browser says "ReferenceError: jQuery is not defined" with most of Bootstrap's script modules.I've added
jquery
as a dependency in package.json and this in webpack.config.js to fix it:The text was updated successfully, but these errors were encountered: