phpstrom(webstorm) 自动编译 sass, css文件出现BOM的问题,怎么解决~~~

在使用phpstrom自动编译sass时, 输出compressed格式时, 使用git提交文件的时候提交不上去,

clipboard.png

phpstrom设置,如下:

clipboard.png

Arguments设置:

--no-cache --update $FileName$:$FileNameWithoutExtension$.css --style compressed

clipboard.png

问题已经解决

版本的问题,升级到最新版本就好了.

阅读 3.3k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进