v0.0.5-9
Pre-release
Pre-release
Published to npm as @eighty4/dank
npm i @eighty4/dank@next
Release notes
Added
- CSS output from
esbuild.buildwhen bundling a JS entrypoint
with CSS imports is now supported, appending the CSS bundle
with a<link rel="stylesheet">to the appropriate HTML pages dank.config.tssupports abuildTagstring expression or builder
function to create the website's build tag using expression
placeholders like{{date}}-{{gitHash}}to inject metadata
into a custom build tagdank.config.tscan now configure a callback for a completed
build by configuringafterBuildwhich will be called with
AfterBuildArgsthat includesWebsiteManifest- Builds and CICD verify Linux, MacOS and Windows compat
Changed
- Worker constructor URLs are no longer limited to the pages directory
and can now resolve to any path within the project directory - Built workers are now deployed to
.libdirectory ofbuild/dist
Fixed
- Windows paths support
- Dev services are launched and cleaned up correctly on Windows
- Dev pages configured with
dank.config.tsdevPagesoption work with
both a string webpage mapping and aDevPageMappingconfiguration - Worker constructors with second arg options breaking swap of build output
hashed worker URL