【问题标题】:Compiling sass with sourcemap使用 sourcemap 编译 sass
【发布时间】:2014-03-27 20:52:23
【问题描述】:

有没有更简单的方法来编译我的 sass 文件并启用 sourcemap 而不是以下命令?

sass --compass --sourcemap --style compact --watch sass:css

如果我使用 compass,我会使用“compass watch”,它会从 config.rb 文件中读取配置。

【问题讨论】:

    标签: css sass compass-sass


    【解决方案1】:

    不,很遗憾。

    在未来的版本中,Sass 将默认发出源映射。 https://github.com/nex3/sass/issues/1189

    在此之前,grunt configurationalias in your bash profile 是您最好的选择。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-04-16
      • 1970-01-01
      • 1970-01-01
      • 2017-11-25
      • 2018-03-11
      • 2014-05-04
      • 1970-01-01
      • 2018-12-27
      相关资源
      最近更新 更多