yibn2008 / fast-sass-loader

High performance sass loader for webpack
250 stars 38 forks source link

Allow some sass options to be set, i.e. precision #41

Closed atsolberg closed 5 years ago

atsolberg commented 6 years ago

Currently there is no way to set the precision option like you would with sass-loader. A lot of projects using bootstrap will experience some measurements being off by 1px because the default line-height has 9 precision digits. node-sass defaults to 5 precision digits.

Example: 14px font-size 1.428571429 line-height would end up as 20px but 14px font-size 1.42857 line-height would be 19px.

yibn2008 commented 5 years ago

I have no plan for this feature, any PR will be welcome.