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
I may be using this incorrectly, but I cannot require the bootstrap javascript using require('bootstrap-sass').
require('bootstrap-sass')
Changing the main key in package.json to point to assets/javascripts/bootstrap.js, instead of the non-existent index.js appears to fix the issue.
main
package.json
assets/javascripts/bootstrap.js
index.js
The text was updated successfully, but these errors were encountered:
Yeah, the current main value makes no sense.
Sorry, something went wrong.
Update bower.json to use one JS file #812
4abf5d1
Really fix #812
b7dd931
b4c0349
bcf9fcd
How would I require just a single file?
@gitnik Use require.resolve() and combine the result with the relative path to the file you want.
No branches or pull requests
I may be using this incorrectly, but I cannot require the bootstrap javascript using
require('bootstrap-sass')
.Changing the
main
key inpackage.json
to point toassets/javascripts/bootstrap.js
, instead of the non-existentindex.js
appears to fix the issue.The text was updated successfully, but these errors were encountered: