Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

2.5.0

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