Importing bootstrap.css vs bootstrap.min.css #12740
Unanswered
hossameldeen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I import
bootstrap.css
, will there be any difference in the production build from if I've importedbootstrap.min.css
?React-Bootstrap docs give an example of importing
bootstrap.min.css
. However, Create React App docs seem to indicate one should importbootstrap.css
instead.Of course, I'd prefer to import
boostrap.css
in case this has any enhancement in the developer experience. But I wouldn't want to incur any cost (nor add source maps?) on production.If I import
bootstrap.css
, does CRA do some magic by which the production build is equivalent to having importedbootstrap.min.css
?Beta Was this translation helpful? Give feedback.
All reactions