Skip to content

Kudzu 0.7.1 - Vite-style landing assets

Choose a tag to compare

@bunzzeok bunzzeok released this 31 Jul 03:59

Kudzu 0.7.1 lets ordinary React/Vite landing-page source retain common local stylesheet and static asset imports while preserving static HTML output and capability-only JavaScript.

New in 0.7.1

  • Relative side-effect CSS imports are validated and erased before server module evaluation.
  • Default CSS Module imports compile to deterministic scoped class maps with no client runtime.
  • Relative image, SVG, and font imports compile to base-aware URL strings; supported assets also accept ?url.
  • Relative CSS url(...) references are rewritten to base-aware emitted URLs while preserving query and hash suffixes.
  • Static assets and CSS Modules work inside specialized relative keyed-row components.
  • Declaration files under src are excluded from executable module compilation.
  • Static migration routes continue to ship zero JavaScript.

Boundary

CSS Module composes, arbitrary import queries, import hashes or attributes, and named or namespace asset bindings remain unsupported. React, a VDOM, hydration, and a retained browser component tree are not emitted.

Upgrade

npm install @kudzujs/core@^0.7.1