Assets management via Esbuild
- [Sven Schwyn] Support for
.avip
and.webp
formats (#28)
- [Tim Riley, krzykamil] Support references to assets in other directories from from JS and CSS files (in js/ and css/)
- [Tim Riley] Compile a single directory of assets only (specified by arguments), instead of crawling the app
structure to detect assets. The
--path
argument specifies the source directory of assets, and--dest
specifies the directory to output the compiled assets and the manifest file. Thehanami assets
CLI commands will provide these arguments for each slice, so that each slice has its own separate compiled assets directory and manifest file.
- [Phil Arndt] Copy asset files from deeply nested directories.
- [Luca Guidi] Official support for Node 20 and 21
- [Luca Guidi] Drop support for Node 18
- [Tim Riley] Removed
hanami-assets
executable - [Tim Riley] Export
run
function as main entry point for running Hanami assets commands.
- [Luca Guidi] Assets watch mode
- [Luca Guidi] Handle static files (images, fonts)
- [Luca Guidi] Subresource Integrity
- [Luca Guidi] Assets manifest
- [Luca Guidi] Assets compilation