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

CssCompressor的问题 #190

Closed
leeight opened this issue Mar 24, 2014 · 3 comments
Closed

CssCompressor的问题 #190

leeight opened this issue Mar 24, 2014 · 3 comments
Labels
Milestone

Comments

@leeight
Copy link
Member

leeight commented Mar 24, 2014

在这个项目里面遇到了,貌似是压缩完之后少了一句定义。

app/ecom/brandlandscape/trunk/brand_landscape/bl-fe/src/main/webapp

@leeight leeight added this to the 1.0.0 milestone Mar 24, 2014
@leeight leeight added the bug label Mar 24, 2014
leeight added a commit to ecomfe/edp-build that referenced this issue Mar 24, 2014
@leeight
Copy link
Member Author

leeight commented Mar 24, 2014

测试了一下应该跟clean-css的优化模式有关系,所以先默认禁止了。如果来不及升级,可以这么用:

new CssCompressor({
  compressOptions: {
    noAdvanced: true,
    keepBreaks: true
  }
});

@leeight leeight closed this as completed Mar 24, 2014
@leeight
Copy link
Member Author

leeight commented Mar 24, 2014

@Justineo

@leeight
Copy link
Member Author

leeight commented Mar 24, 2014

clean-css/clean-css#259

leeight added a commit to ecomfe/edp-build that referenced this issue Apr 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant