Why does Sass prepend an incorrect @charset rule?

前端 未结 2 760
我在风中等你
我在风中等你 2020-12-09 11:05

I use

sass --watch scss:css

to have Sass automatically create CSS files (and put them in the /css directory) for each SCSS fi

2条回答
  •  借酒劲吻你
    2020-12-09 11:29

    Like @Alireza-Fatahi states in this answer, you could save a line in CSS output and instead go for a default Charset on external files, by adding this line to your config.rb in your project folder:

    Encoding.default_external = "UTF-8"
    

提交回复
热议问题