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