All notable changes to this project will be documented in this file.
- Updated to the latest Critical & other deps
- 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 an issue where building with a project of
"type": "module"
would fail because conditional exports were not defined in"exports"
(#12)
- Fix import of the now ESM-only
critical
package into the CJS build ofrollup-plugin-critical
(#9)
- Refactored the tests to use snapshots
- Fixed an issue where the plugin was being bundled as ESM, when it should be CommonJS for broader (and backwards) compatibility (#9)
- Add
eslint
to the build phase
- Install the latest
npm
in the Docker image - Add
dev
,release
commands, removeupdate
dependency - Minify the
dist/
output - Clean up type definitions
- Refactor to use
critical
^5.0.0
- Switch tests from Jest to Vitest
- Added support for
inline: true
via (#5)
- Switched to
critical
^4.0.0
(#2) - Remove the
minify
option, since it was removed fromcritical
^4.0.0
- Switched to
tsup
for bundling
- Fixed build of
dist/index.d.ts
to have the correct default export by sourcingindex.ts
- Fixed
respectExternal
setting
- Split types out into separate files
- Use Rollup and dts to build the types
- Fixed
dist/index.d.ts
to have complete type definitions
- Administrivia
- Remove unneeded conditionals
- Improve comment typehints in jsdoc
- Remove vestigial
concurrency
property
- Initial release