shakacode / bootstrap-loader

Load Bootstrap styles and scripts in your Webpack bundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to import styles only, not Javascript?

AndrewRayCode opened this issue · comments

I'm using react-bootstrap which adds the Javascript already to the project. It requires the end user to load the styles. In the past I've used bootstrap-sass-loader as one of my Webpack entry points, but now that's deprecated. I'm trying to figure out how to only load the styles using this project. I don't see anything obvious in .bootstraprc-3-default

I think I could also just make an entry point for bootstrap from bootstrap-sass, but then I don't get the niceness of variable overrides

commented

I think what you are looking for is in the documentation: https://github.com/shakacode/bootstrap-loader#scripts