Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

css文件里两个地方引用相同的img图片,都会转成base64造成重复,没有进行去重优化 #1351

Open
xiamidaxia opened this issue Jul 17, 2015 · 5 comments

Comments

@xiamidaxia
Copy link

clean-css 没有生效?

@xiamidaxia
Copy link
Author

image

@xiamidaxia
Copy link
Author

效果是:
image

@sorrycc
Copy link
Member

sorrycc commented Jul 17, 2015

这个估计是 cleancss 的优化点。

@soda-x
Copy link
Contributor

soda-x commented Jul 17, 2015

@sorrycc 如果说这个是优化就有点尴尬了 - -!

现在 webpack 正式用 post-css 了么?

@sorrycc
Copy link
Member

sorrycc commented Jul 17, 2015

@pigcan https://github.com/webpack/css-loader 0.15 是 postcss, 0.14 是 cleancss 。我们目前用的 0.14

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

No branches or pull requests

3 participants