Skip to content

Commit 63f1d37

Browse files
authored
Merge pull request faceyspacey#40 from mike1808/patch-1
Add ref to plugin to use with html-webpack-plugin
2 parents 4c14648 + 131e13d commit 63f1d37

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ The reason Emotion doesn't work in IE11+ is because they currently try to preser
238238
The vision we'd like to see for that package is where dynamic css stays inline, and where only static CSS is extracted into stylesheets, in which case CSS vars aren't needed. I've heard from them they have some "hidden flags" that allow for something close to this. When, and if, they take this feature all the way, look forward to us pushing it as our recommended approach. *Go Emotion!*
239239

240240

241+
## What if I don't use SSR and use html-webpack-plugin?
242+
243+
For that case you can use [css-chunks-html-webpack-plugin](https://github.com/mike1808/css-chunks-html-webpack-plugin) which will extract CSS chunks paths into your HTML file.
244+
245+
241246
## Conclusion:
242247
**We love CSS modules; no less, no more.**
243248

0 commit comments

Comments
 (0)