Skip to content

Releases: nystudio107/rollup-plugin-critical

Version 1.0.14

05 Sep 00:42
Compare
Choose a tag to compare

Changed

  • Updated to the latest Critical & other deps

Version 1.0.13

22 Nov 22:47
Compare
Choose a tag to compare

Changed

  • Switch over to using Node 20 and NPM 10 in the Dockerfile
  • Update to Vite ^5.0.0 and Vitest ^1.0.0-beta.5

Fix

  • Fix an issue where building with a project of "type": "module" would fail because conditional exports were not defined in "exports" (#12)

Version 1.0.12

13 Dec 18:22
Compare
Choose a tag to compare

Fix

  • Fix import of the now ESM-only critical package into the CJS build of rollup-plugin-critical (#9)

Version 1.0.11

13 Dec 16:40
Compare
Choose a tag to compare

Changed

  • Refactored the tests to use snapshots

Fixed

  • Fixed an issue where the plugin was being bundled as ESM, when it should be CommonJS for broader (and backwards) compatibility (#9)

Version 1.0.10

11 Dec 23:35
Compare
Choose a tag to compare

Added

  • Add eslint to the build phase

Changed

  • Install the latest npm in the Docker image
  • Add dev, release commands, remove update dependency
  • Minify the dist/ output
  • Clean up type definitions
  • Refactor to use critical ^5.0.0
  • Switch tests from Jest to Vitest

Version 1.0.9

13 Aug 22:43
Compare
Choose a tag to compare

Added

  • Added support for inline: true via (#5)

Version 1.0.8

16 Oct 01:22
Compare
Choose a tag to compare

Changed

  • Switched to critical ^4.0.0 (#2)
  • Remove the minify option, since it was removed from critical ^4.0.0

Version 1.0.7

03 Jun 00:01
Compare
Choose a tag to compare

Changed

  • Switched to tsup for bundling

Version 1.0.6

02 Jun 02:49
Compare
Choose a tag to compare

Fixed

  • Fixed build of dist/index.d.ts to have the correct default export by sourcing index.ts

Version 1.0.5

01 Jun 22:36
Compare
Choose a tag to compare

Changed

  • Fixed respectExternal setting