Skip to content

v0.17.1

Choose a tag to compare

@SisyphusZheng SisyphusZheng released this 16 May 10:28
· 1 commit to b32ec54d253fbf79b56a9928ed16fa683c3467ed since this release

v0.17.1 — Cross-Runtime adapter-vite

Release date: 2026-05-16

Summary

Eliminates the last 2 Deno-only API calls in adapter-vite's SSG CLI, making
lessjs build runnable under Node.js and Bun without a Deno runtime.

Changes

  • Compat: Deno.build.os === 'windows' → process.platform === 'win32' in adapter-vite/src/cli/ssg.ts (line 72)
  • Compat: Deno.exit(1) → process.exit(1) in adapter-vite/src/cli/ssg.ts (line 114)
  • Verify: deno task build passes
  • Verify: deno task test:e2e passes
  • Verify: 522 tests passed, 0 failed; fmt / lint / typecheck all clean

Breaking Changes

None. This is a patch release — internal compat only, no API change.

Known Issues

  • Deno.readTextFileSync in workspace-alias.ts remains but is guarded with
    typeof Deno !== 'undefined' check and node:fs fallback — no action needed.