shepherdwind / css-hot-loader

This is a css hot loader, which support hot module replacement for an extracted css file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't work very well

luckykun opened this issue · comments

commented

Hi, First of all, thank you for this tool, which is very good to me.

But I've got a problem recently. When I use the postcss-loader to handle the CSS file。And Using postcss-global-import to refer to the global CSS file。

css-hot-loader can't work very well。

I hope you can solve this problem. Thank you very much!!!

// index.js
import './index.pcss';

// index.pcss(this is the point)
@global-import './globla.pcss';

When I modify the content of globla.pcss, css-hot-loader can't work very well。

commented

Can you provide me an little example, so I can reproduce the problem you meet with.

commented

If you don't provide more information for this issue, I will close it now.

You can reopen this anytime. Thanks for you feedback.