critters

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

APACHE-2.0 License

Downloads
11.2M
Stars
3.4K
Committers
19

Bot releases are hidden (Show)

critters -

Published by developit about 6 years ago

  • Fix pseudo element/selector replacement mangling :not().
  • Fix fonts being inlined when using { inlineFonts: false } without { fonts: true }.
critters -

Published by developit about 6 years ago

  • Critters now knows how to inline @keyframe rules! Thanks @tomrav for the idea and initial implementation.
// default: it'll only inline @keyframes that are used by critical CSS:
new Critters({ keyframes: 'critical' })

// there's an option to inline all keyframes:
new Critters({ keyframes: 'all' })

// ... and then one to remove all keyframes
new Critters({ keyframes: 'none' })
critters -

Published by developit about 6 years ago

  • Fixes a bug where CSS inlining would crash when encountering a comment.
critters - 1.2.1

Published by developit about 6 years ago

  • Quick bugfix for 1.2.0.
critters -

Published by developit about 6 years ago

  • Simplify JSDOM integration and improve reliability (#13, thanks @prateekbh!)
critters -

Published by developit over 6 years ago

  • Extends Webpack support to version 3 and prior, instead of just webpack@4.
critters -

Published by developit over 6 years ago

Initial release!