-
Notifications
You must be signed in to change notification settings - Fork 511
Style loader useable with extract-text-webpack-plugin #25
Comments
That doesn't work, and makes no sense. The useable API enables and disables styles on |
@sokra thanks for clearing that up. Can you reiterate in a few words what this plugin does? The readme is quite terse at this point :) |
It moves every Advantages:
Caveats:
|
That's nice and verbose. Perhaps, can be moved to the README. Last question, when I include the bundled css, I do so directly in html. There is the customary Could I be missing something? |
@sokra ping |
You need to enable SourceMaps in devtools. You need to use the in html you need something like |
Thanks! That brings up an interesting point. I removed my new webpack.SourceMapDevToolPlugin(
'[file].map', null,
"[absolute-resource-path]", "[absolute-resource-path]") Word? |
|
Thanks 👍 |
Can I use style-loader's
useable
feature with extract-text-webpack-plugins?This doesn't work:
Fails at my first use of
style.use()
.The text was updated successfully, but these errors were encountered: