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

替换css压缩器 #12

Open
army8735 opened this issue Nov 14, 2014 · 0 comments
Open

替换css压缩器 #12

army8735 opened this issue Nov 14, 2014 · 0 comments

Comments

@army8735
Copy link
Member

more-css替换clean-css

compress(code:String, options:Object = { processImport: false }, radical:Boolean = false):String

第二个选项作为传给clean-css的,第三个为是否开启激进压缩

当不开启时退级为clean-css压缩

希望在package.json中可配置,默认关闭

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

No branches or pull requests

1 participant