Releases: craftamap/esbuild-plugin-html
v0.8.0
What's Changed
- Template: don't call
lodashTemplate
ifdefine
param is undefined by @denis-ok in #46 - feat: allow predicate to be specified for inlining by @craftamap in #52
- Replace lodash.template with latest lodash by @severian in #59
- Use scriptLoading configuration option in inline scripts as well by @munkiwarra in #61
- feat!: disable es6-like string interpolation ${} when compiling templates by @craftamap in #62
- feat: add initial test setup by @craftamap in #58
New Contributors
- @denis-ok made their first contribution in #46
- @severian made their first contribution in #59
- @munkiwarra made their first contribution in #61
Full Changelog: v0.6.1...v0.8.0
v0.7.0
What's Changed
- Template: don't call
lodashTemplate
ifdefine
param is undefined by @denis-ok in #46 - feat: allow predicate to be specified for inlining by @craftamap in #52
- Replace lodash.template with latest lodash by @severian in #59
New Contributors
Full Changelog: v0.6.1...v0.7.0
v0.6.1
v0.6.0 is not published because I messed up the release process.
What's Changed
- Feature: option to inline js and css files by @ninxadev in #39
- config: support
hash
option (#40) by @vpanta in #41
New Contributors
Full Changelog: v0.5.0...v0.6.1
v0.5.0
BREAKING CHANGES
This release is bringing a breaking change in regards of finding related (*.css) files. In previous versions, in order to find the related CSS file for each script, we used file name/path to search for which CSS file matches. However, esbuild now includes the information which CSS file to use for each bundle in it's metafile since 0.15.10
. It is therefore recommended to use at least version 0.15.10
of esbuild to encounter no unexpected behavior.
Previously, the behavior of finding the related CSS file was enabled by the flag findRelatedOutputFiles
, which was true
by default. The findRelatedOutputFiles
flag is still available, and enables the old behavior of using the path to find the related CSS file. However, it's now false
by default, and will be removed in a upcoming version. Instead, it is now recommended to use the findRelatedCssFiles
flag, which uses the new described behaviour. findRelatedCssFiles
is true by default.
If you didn't change the value of findRelatedOutputFiles
before, most likely nothing changed for you. However, if you disabled findRelatedOutputFiles
previously, you might now also want to disable findRelatedCssFiles
.
What's Changed
- build(deps): bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #37
- fix(favicon): use publicPath with favicon by @craftamap in #38
- css: use esbuild's new cssBundle field to get related css bundles (#33) by @craftamap in #34
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Extra Script Injection by @TurtIeSocks in #31
- HTML File Path Support by @TurtIeSocks in #32
Meta
The release was already released in April of 2022, sorry for the delayed release notes.
Full Changelog: v0.3.3...v0.4.0
v0.3.3
What's Changed
- related-files: add option to disable finding related files (#16) by @craftamap in #17
- fix: replacing all usages of path.join with posixJoin (#29) by @craftamap in #30
Full Changelog: v0.3.2...v0.3.3