All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Gets CJS module support back through conditional exports.
- Since v2.0.0, only ESM was supported.
- Both ESM and CJS are supported now.
- Adds TypeScript and TypeScript declarations.
- Fixes bug introduced in v2.3.0 when
target
option was made optional.- Passing a single strings was ignored, only arrays were being accepted.
- Only the exported function was affected, not the CLI.
- Makes --target files optional, both in CLI and the exported function.
- Exports a
cachekill
function to enable programmatic usage in addition to CLI.
- Adds a new --pattern argument to specify the format of the fingerprinted filename.
- Breaking change: Node >= 14.8.0 is required from now on.
- Uses the new ECMAScript module syntax (
import
/export
) instead ofrequire()
. - Uses top level await statements.
- Uses the new ECMAScript module syntax (
- Added logging the execution time to the console output.
- First stable release.
- Fixes bugs and improves documentation.
- First working version.