Skip to content

Which CSS Minifier tool does Bootstrap 5 use? #38698

Discussion options

You must be logged in to vote

Hi @coudrak
We use clean-css via clean-css-cli in our package.json:

"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@coudrak
Comment options

Answer selected by coudrak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants