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的配置问题 #7

Closed
leeight opened this issue Sep 30, 2013 · 1 comment
Closed

CssCompressor的配置问题 #7

leeight opened this issue Sep 30, 2013 · 1 comment

Comments

@leeight
Copy link
Member

leeight commented Sep 30, 2013

现在默认会把css中图片的相路径改成绝对路径,但是在后续的PathMapper阶段没有处理,导致最后output目录中的css无法加载图片。

@leeight
Copy link
Member Author

leeight commented Feb 12, 2014

为了避免对现有项目的影响,需要在edp-build-config.js里面新增一个配置:

{ extnames: 'less,css', replacer: 'css' }

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

No branches or pull requests

1 participant