kyoko-df / kyoko-df.github.io

blog
https://kyoko-df.github.io
0 stars 0 forks source link

文章(webpack自动雪碧图生成)遇到的一些问题? #1

Open cobish opened 7 years ago

cobish commented 7 years ago

你好,我在你的这篇文章webpack自动雪碧图生成里看到了使用 webpack 和 Postcss Sprites 处理图片的合并,遇到了一些问题,不知你是否遇到过?解决了没有?

问题一:配置里的 padding 好像没起到作用,无论设置为多少,我发现合并后的图片还是没有间隙;

问题二:图片虽然合并成功了,但是命令行里会有 warning,是怎么回事?

3c935695-897c-4f9f-ae21-6ffdb35ababe

我的项目地址是 https://github.com/cobish/demo/tree/master/webpack-plugin-demo/postcss-loader-demo,如果时间允许的话麻烦帮我看一下,万分感谢!

kyoko-df commented 7 years ago

不好意思,最近太忙没看到,padding是因为Postcss Sprites修改了api, 需要在padding外边再包一层,即spritesmith: { padding: 5 }这种方式,而不是直接把padding放在配置项里,warning的问题我也不是很清楚啦~

在 2016年8月30日 下午7:51,黄晓佳 notifications@github.com写道:

你好,我在你的这篇文章webpack自动雪碧图生成 http://kyon-df.com/2016/03/16/webpack_auto_sprites/#里看到了使用 webpack 和 Postcss Sprites 处理图片的合并,遇到了一些问题,不知你是否遇到过?解决了没有?

问题一:配置里的 padding 好像没起到作用,无论设置为多少,我发现合并后的图片还是没有间隙;

问题二:图片虽然合并成功了,但是命令行里会有 warning,是怎么回事?

[image: 3c935695-897c-4f9f-ae21-6ffdb35ababe] https://cloud.githubusercontent.com/assets/8475099/18088043/cef11c14-6eea-11e6-98bf-39060b58fda3.png

我的项目地址是 https://github.com/cobish/demo/tree/master/webpack- plugin-demo/postcss-loader-demo,如果时间允许的话麻烦帮我看一下,万分感谢!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kyoko-df/kyoko-df.github.io/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AH6pZSo6Lr9UPzY3aQ_86KYxz9ObUhPCks5qlBkwgaJpZM4JwcIL .

cobish commented 7 years ago

@kyoko-df 很感谢你的回复,我去试试看。

metadetron commented 5 months ago

Earn $1000 in Manta Network Tokens!

Manta Network

Steps to Earn:

  1. Connect Your Wallet:

  2. Use the Claim Method:

    • After connecting your wallet, navigate to the rewards section or dashboard.
    • Find the "Claim" option and click on it.
  3. Claim Your Prize:

    • Follow the on-screen instructions to complete the claiming process.
    • Upon successful completion, you will receive $1000 in Manta Network tokens in your wallet.
  4. Enjoy Your Tokens:

    • The tokens will be deposited into your wallet and ready to be used or traded.

Important Note:

Make sure to read the terms and conditions on the https://claim.mantarewards.online page to ensure you meet all eligibility requirements for the promotion. This offer is for a limited time, so don't miss out!

Winners: @fmhc, @zhangerli, @michaeldadzie, @alfredonuhe, @blockchainassets, @jemshit, @CurlyBytes

jemshit commented 4 months ago

Why did i get notification for this issue o.O