Skip to content

v0.1.2

Compare
Choose a tag to compare
@regisphilibert regisphilibert released this 30 Dec 20:18
· 32 commits to main since this release

Asset Refactoring

This release refactors both Styles and Scripts features so user can pass asset settings right from the template and do not have to rely on configuration.

{{ partial "huge/styles/tags" (dict 
  "name" "main"
  "path" "main.scss"
  "integrity" true
  "fingerprint" "always"
) }}

With this refactoring users can use returning partials to populate settings of a style or script asset like so:

{{ partial "huge/scripts/tags" (dict
  "name" "shop"
  "path" "js/shop.jsx"
  "params" (dict
    "products" (partial "GetProducts")
  )
) }}

Temporary Suspension of Configuration Functions

It also temporarily suspend the "Configuration Function" feature until #44 (where server unepextentedly ad silently hangs) is better understood and we can introduce it back as an experimental feature (#45).

For users relying on Configuration Functions in their project, here's a workaround to use them still.

What's Changed

  • Refactor Styles/Scripts to allow passing settings without config by @regisphilibert in #49

Full Changelog: v0.1.1...v0.1.2