Releases: maxmilton/esbuild-minify-templates
Releases · maxmilton/esbuild-minify-templates
v0.7.0
Note: Prior to v1.0.0, minor releases may contain breaking changes!
Removed
- BREAKING CHANGE: Remove setting options via environment variables. They are now set when calling the plugin — #109
Changed
- BREAKING CHANGE: Refactor into esbuild plugins — #109
Full changelog: v0.6.0...v0.7.0
v0.6.0
v0.5.1
v0.5.0
v0.4.0
v0.3.0
Changed
- Support stage1 JS framework specific minification — remove space around node ref tags
v0.2.0
Added
- Minify tagged template literals only option via
MINIFY_TAGGED_TEMPLATES_ONLY
environment variable.
Fixed
- Fix encoding/decoding to be more inline with esbuild internals and use correctly, including in tests + increase the minimum required node version to
12
. - Explicitly note the ignore directive comments will not work with esbuild
minify
optiontrue
. - Add and improve tests.
v0.1.0
Added
- New ignore directive comment feature; disable minification for a template literal by adding a
/* minify-templates-ignore */
comment on the preceding line. - Specify minimum required node version.
- Added unit tests and coverage reporting.
Fixed
- Results are now correct when a template literal starts or ends on the first line.
writeFiles
now waits until all files are written to disk.