scss sourcemap 路径怎么设置

执行命令

scss a.scss:c.css

生成文件

c.css
c.css.map

如何自定义map文件的输出路径?

阅读 4.9k
1 个回答

sass -h 查看帮助

--sourcemap=TYPE

 How to link generated output to the source files.
   auto (default): relative paths where possible, >file URIs elsewhere
   file: always absolute file URIs
   inline: include the source text in the sourcemap
   none: no sourcemaps
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题