Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sprite.js: 增加可选的压缩的参数 #16

Closed
wants to merge 1 commit into from
Closed

Update sprite.js: 增加可选的压缩的参数 #16

wants to merge 1 commit into from

Conversation

wuwb
Copy link

@wuwb wuwb commented Jul 16, 2014

增加是否压缩的参数,当 background-position 中有数值为0的时候省略单位 px, 防止提交代码的时候无法通过 svn 检测钩子的检测。

增加是否压缩的参数,当 background-position 中有数值为0的时候省略单位 px, 防止提交代码的时候无法通过 svn 检测钩子的检测。
@laoshu133
Copy link
Owner

  1. cssmin 参数会引起用户误解是否是帮把整个CSS文件压缩了,如果开启此功能可以默认开启,并不需要参数配置
  2. 正常使用的CSS应该是压缩后的CSS,也就是说这里的“压缩”会在单独的压缩任务中完成

@laoshu133 laoshu133 closed this Jul 16, 2014
@laoshu133
Copy link
Owner

2ccd7c3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants