GoogleChromeLabs / critters

🦔 A Webpack plugin to inline your critical CSS and lazy-load the rest.

Home Page:https://npm.im/critters-webpack-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't load rest of styles

woophi opened this issue · comments

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

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.

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.