Minify template literal strings as part of an esbuild powered build process.
MIT License
bun
+ refactor by @maxmilton in https://github.com/maxmilton/esbuild-minify-templates/pull/335
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.10.0...v0.11.0
Published by maxmilton over 1 year ago
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.9.3...v0.10.0
Published by maxmilton almost 2 years ago
0.16.x
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.9.2...v0.9.3
Published by maxmilton about 2 years ago
esbuild
peer dependency versions; ^0.13.0 || ^0.14.0 || ^0.15.0
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.9.1...v0.9.2
Published by maxmilton about 2 years ago
esbuild
peer dependency version is now ^0.15.0
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.9.0...v0.9.1
Published by maxmilton about 2 years ago
stripWhitespace
function for direct string minification in https://github.com/maxmilton/esbuild-minify-templates/pull/237
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.8.0...v0.9.0
Published by maxmilton over 2 years ago
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.7.3...v0.8.0
Published by maxmilton over 2 years ago
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.7.2...v0.7.3
Published by maxmilton almost 3 years ago
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.7.1...v0.7.2
Published by maxmilton almost 3 years ago
Full Changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.7.0...v0.7.1
Note: Prior to v1.0.0, minor releases may contain breaking changes!
Full changelog: https://github.com/maxmilton/esbuild-minify-templates/compare/v0.6.0...v0.7.0
minify()
options into opts argumentpackage.json
ES2019
for better node v12 supportMINIFY_TAGGED_TEMPLATES_ONLY
environment variable.12
.minify
option true
./* minify-templates-ignore */
comment on the preceding line.writeFiles
now waits until all files are written to disk.