GoogleChromeLabs / critters

🦔 A Webpack plugin to inline your critical CSS and lazy-load the rest.
https://npm.im/critters-webpack-plugin
Apache License 2.0
3.44k stars 108 forks source link

Don't load rest of styles #92

Closed woophi closed 2 years ago

woophi commented 2 years ago

I use critters 0.0.15 and next 12.0.7. and it looks like the rest of styles couldn't load at all.

What are possible reasons why does it happen?

image

janicklas-ralph commented 2 years ago

Thats a different tag used internally by NextJS. Can you see inline styles loaded further down? It would be helpful to share a link to the repo or the site.

woophi commented 2 years ago

I can't share repo, cause it's private.

Luckily I found a problem that caused block of loading styles. In custom server I have a helmet with csp rule. that's why media="print" never changes.