Skip to content

Releases: projectwallace/extract-css-core

v3.0.0

03 May 14:52
Compare
Choose a tag to compare

Breaking

  • This package now requires Node >= 12
  • When using origins: 'include', link-or-import is now either link or import

Improvements

  • Add option to exclude inline styles by @bartveneman in #51
  • More bulletproof extracting by droppping the CSSCoverage API (Replace coverage API with recursive document.stylesheets by @bartveneman in #57)
  • BREAKING: Replace ava with uvu by @bartveneman in #49
  • handle server timeouts by @bartveneman in #52

What's Changed

Full Changelog: v2.3.1...v3.0.0

Custom Puppeteer User-Agent

23 Feb 21:50
e710f3c
Compare
Choose a tag to compare

This release sets a custom User-Agent string for Puppeteer, as a workaround for websites that block Puppeteer when the default User-Agent string contains HeadlessChrome.

add option to include css origins

22 Mar 19:39
Compare
Choose a tag to compare

When passing origins: 'include', extractCss will give you an array of all the entries of CSS it found, including where and how, like link tags, style tags, CSS @imports or inline styles.

v2.2.0...v2.3.0

Update dependencies, replace CI

22 Mar 15:59
Compare
Choose a tag to compare

v2.1.0...v2.2.0

Inline styles + @import support

09 Mar 22:28
Compare
Choose a tag to compare

Commits:

Commit Range:
v2.0.0...master

v2.0.0-beta.1

15 Dec 19:58
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release
v2.0.0-beta.1

CSS-in-JS support 👩‍🎤

06 Jul 20:13
Compare
Choose a tag to compare
  • Adds support for CSS that is added to the DOM via CSSStyleSheet.insertRule() API, used by many commonly used CSS-in-JS solutions like Emotion or Styled Components.
  • Update dependencies

v1

25 Mar 21:31
Compare
Choose a tag to compare
v1
v1.0.0

1.0.0

initial release

23 Mar 22:21
Compare
Choose a tag to compare
v0.1.0

0.1.0