@DavidWells @addyosmani That is correct. You will need to filter the CSS to take care of relative URLs since the context changes.
@addyosmani @DavidWells Working on a smell example to demonstrate the usage and approach. Will post it later.
@addyosmani @DavidWells I tried maintaining a separate critical.css file. Maintenance was slow,structure was a mess. This works like a charm
@DavidWells @addyosmani Thanks. There’s still a lot to do to actually automate the entire flow but this should close the gap by a lot.
While sick at home today, I built a PostCSS plugin that extracts annotated critical CSS into a separate CSS-file. https://t.co/faC0u1bHb4