-
Notifications
You must be signed in to change notification settings - Fork 511
Conversation
Any chance that this PR can be merged? |
Also the documentation said that hot module replacement might be used in production @sokra told me in gitter that he doesn't plan to merge this feature as hmr works seamless without the extract-text-webpack plugin |
Would love to use ExtractTextPlugin with HMR! Scenario: multiple css-themes which are extracted to static css files. |
👍 |
👍 maybe enable it via a configuration flag, so it is not a problem for people using hmr in production. |
👍 |
5 similar comments
👍 |
👍🏻 |
👍 |
👍 |
👍 |
👍 Indeed would be very useful feature. |
@jantimon can you please suggest how to use your patched version of extract-text-plugin with HMR? I tried your forked repo but it doesn't work for me :( Still getting:
|
@valerybugakov The merge request worked - but this was Jul 2015. As this won't be merged anyway I don't want to spent time on it. |
@jantimon are you using HMR for CSS right now somehow? Or just switched to another tool. |
I disabled extract text plugin for hmr (in this example if
|
👍 Merge it please |
@TrejGun ok, will try, thanks! |
:( doesn't work with |
And inline-source-map |
I just write a loader(css-hot-loader), which supprot hot module replacement for an extracted css file. If you don't want use style-loader, maybe you should have a try. |
@jantimon Are you still interested? I expect the PR might need some tweaks to make this work in 2 series. |
@bebraw thanks for picking this up but I abandoned the related project two years ago because of missing webpack features - the solution is quite simple so it might still work :) |
@jantimon Alright. Let's leave this open for now in case someone wants to pick it up for a future release. |
664e78c
to
76a171d
Compare
Hi I would like to pick up this one, and have 2 options to propose:
|
@msuperina Latter sounds good to me especially since then the client doesn't need to worry about dealing with external resources. @d3viant0ne Any thoughts on this? |
Definitely the latter imo. |
@msuperina Any progress with the PR? |
@danielverejan Nah. We investigated it, but it's a tough problem (hard code). An interesting way to work around the problem is to go with extract-loader. It's not the same, but still worth a look. |
This is a very useful feature. |
If someone wants to work on this, please open a separate PR. It's a surprisingly tough problem to solve neatly. |
Why does not it work for me? ERROR in ./src/components/App/bootstrap.css No idea why a path is such |
Does HMR work in version3.0.0? |
This pull request adds hot module replacement to the extract-text-webpack-plugin.