Rollup Plugin Critical Versions Save

Vite.js & Rollup plugin for generating critical CSS

1.0.13

5 months ago

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)

1.0.12

1 year ago

Fix

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

1.0.11

1 year ago

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)

1.0.10

1 year ago

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

1.0.9

1 year ago

Added

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

1.0.8

2 years ago

Changed

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

1.0.7

2 years ago

Changed

  • Switched to tsup for bundling

1.0.6

2 years ago

Fixed

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

1.0.5

2 years ago

Changed

  • Fixed respectExternal setting

1.0.4

2 years ago

Changed

  • Split types out into separate files
  • Use Rollup and dts to build the types