Critters Versions Save

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

critters-webpack-plugin-3.0.2

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/GoogleChromeLabs/critters/compare/critters-webpack-plugin-3.0.1...critters-webpack-plugin-3.0.2

critters-0.0.16

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/GoogleChromeLabs/critters/compare/critters-0.0.15...critters-0.0.16

critters-webpack-plugin-3.0.1

2 years ago
  • Updates internal critters dependency to 0.0.15 (#89, thanks @rschristian)

critters-0.0.15

2 years ago
  • Bugfix: add missing getter for document.head (#87, thanks @rschristian!)

critters-webpack-plugin-3.0.0

2 years ago

What's Changed

  • critters-webpack-plugin is now powered by a refactored standalone critters module. Processing now uses JSDOM and css-select (huge thanks thanks @janicklas-ralph and @alan-agius4 - #61, #80, #82)
  • Added support for html-webpack-plugin V4 (thank you @alexjie! #62, #84)
  • Add swap-high preload mode by @developit in #56

Bug Fixes

  • skip processing of remote stylesheets by @alan-agius4 in #75, #83
  • Improve TypeScript typings by @developit in #76
  • Use a real value for swap media by @developit in #39

Full Changelog: https://github.com/GoogleChromeLabs/critters/compare/2.5.0...critters-webpack-plugin-3.0.0

critters-0.0.13

2 years ago

This fixes a bug in [email protected] where HTTP (as opposed to HTTPS) remote stylesheets were not skipped (thanks @alan-agius4 - #83)

Full Changelog: https://github.com/GoogleChromeLabs/critters/compare/critters-0.0.12...critters-0.0.13

critters-0.0.12

2 years ago

What's Changed

Full Changelog: https://github.com/GoogleChromeLabs/critters/compare/57c4b40fb96d74e8c5ac5b00cbcd84a3c491db77...critters-0.0.12

2.5.0

4 years ago
  • Adds a new additionalStylesheets option, which allows inlining the critical styles from any emitted Webpack CSS asset matching the given pattern(s). Thanks @prateekbh for implementing this in #45!
plugins: [
  new CrittersPlugin({
    // inline styles from all CSS files, even if not referenced from our HTML:
    includeMatchingStylesheets: ['*.css']
  })
]

1.3.5

4 years ago

This is a patch release for Critters 1.x, which includes a backported fix for a bug where Keyframe rules would be erroneously treated as non-critical CSS. Special thanks to @filoozom and @pathacks for pointing out this should be backported and doing the work.

Please note this fix has already been shipped in Critters 2.x.

For those looking to install 1.x directly: npm i critters-webpack-plugin@legacy

2.4.0

4 years ago
  • Preserve :root{} rulesets (#37, thanks @ashsearle!)