songsiqi / px2rem

According to one stylesheet, generate rem version and @1x, @2x and @3x stylesheet.
558 stars 92 forks source link

编译后的css能不能不带debug #10

Closed kateguan closed 7 years ago

kateguan commented 7 years ago

gulp里面编译出的css能不能不是.debug.css,直接输出.css,remVersion设为false之后直接就不输出css了,是否可以增加个参数需要debug的时候才添加debug

gengxuelei commented 7 years ago

用rename重命名 image 参加这里: https://github.com/gengxuelei/gulp-page/blob/master/gulpfile.js

songsiqi commented 7 years ago

@kateguan 在 gulp 环境下可以使用 postcss-px2rem