Skip to content

v0.0.5-9

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 May 23:52
· 56 commits to main since this release

Published to npm as @eighty4/dank

npm i @eighty4/dank@next

Release notes

Added

  • CSS output from esbuild.build when 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.ts supports a buildTag string expression or builder
    function to create the website's build tag using expression
    placeholders like {{date}}-{{gitHash}} to inject metadata
    into a custom build tag
  • dank.config.ts can now configure a callback for a completed
    build by configuring afterBuild which will be called with
    AfterBuildArgs that includes WebsiteManifest
  • 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 .lib directory of build/dist

Fixed

  • Windows paths support
  • Dev services are launched and cleaned up correctly on Windows
  • Dev pages configured with dank.config.ts devPages option work with
    both a string webpage mapping and a DevPageMapping configuration
  • Worker constructors with second arg options breaking swap of build output
    hashed worker URL