-
Notifications
You must be signed in to change notification settings - Fork 29
How do you use this with webpack 2? #1
Comments
Sorry, This loader just worked on webpack 1.x . I don't use webpack 2 yet. I will try to resolve the problem soon. |
where do you put the loader here for example:
|
@faceyspacey webpack 2.x can use those config module: {
rules: [
{
test: /\.css$/,
use: ['css-hot-loader'].concat(ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader'
})),
},
]
} Please use version 1.0.2 . |
awesome! trying it now. |
@ciocan I am sorry, I just forget to fix this issue . |
It's not working for me. No stylesheet is appearing in the Here's what I have:
|
In fact, it seems to break HMR for even javascript. HMR does not work at all after installing this. And I've tested to make sure regular HMR for js and css works--here's my regular css loader commented out:
|
@faceyspacey Can You send me a tiny demo? So I can try this on my compute . If it is convenient for you, send code to my email(eward.song at gmail.com) or just give me a url which I can find the demo code. |
Here https://github.com/shepherdwind/react-hot-boilerplate/tree/next is my demo code, which css and js are all work fine . |
ok, I'm going to try it tomorrow as it's the end of my day, but something tells me it has to do with |
No description provided.
The text was updated successfully, but these errors were encountered: