Skip to content

Releases: GoogleChromeLabs/critters

critters-webpack-plugin-3.0.2

05 Jan 16:12
a590c05
Compare
Choose a tag to compare

What's Changed

  • Updated to Critters 0.0.16
  • fix: add missing peer dependency html-webpack-plugin by @merceyz in #91
  • fix: add createRequire for try/catched require('html-webpack-plugin').getHooks(compilation) by @dmnsgn in #85

New Contributors

Full Changelog: critters-webpack-plugin-3.0.1...critters-webpack-plugin-3.0.2

critters-0.0.16

05 Jan 16:11
46f983f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: critters-0.0.15...critters-0.0.16

critters-webpack-plugin-3.0.1

07 Dec 17:20
5e32531
Compare
Choose a tag to compare
  • Updates internal critters dependency to 0.0.15 (#89, thanks @rschristian)

critters 0.0.15

25 Nov 21:23
60cd562
Compare
Choose a tag to compare

critters-webpack-plugin 3.0.0

22 Oct 16:44
fa4d82a
Compare
Choose a tag to compare

What's Changed

Bug Fixes

Full Changelog: 2.5.0...critters-webpack-plugin-3.0.0

critters-0.0.13

22 Oct 14:50
fc4b68b
Compare
Choose a tag to compare

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

Full Changelog: critters-0.0.12...critters-0.0.13

Critters 0.0.12

21 Oct 21:05
7af66b0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 57c4b40...critters-0.0.12

1.3.5 (patch release for legacy 1.x versions)

03 Jan 20:20
Compare
Choose a tag to compare

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.5.0

03 Jan 20:34
Compare
Choose a tag to compare
  • 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']
  })
]

2.4.0

23 Jul 14:35
Compare
Choose a tag to compare