Redone is a high-performance Rust-based build system for Astro that replaces esbuild and Vite integration with native Rust components (SWC compilation, parallel bundler, tokio-based dev server with HMR). Current stable version is 1.0.0, with an active alpha track for Astro 7.0. Key differentiators: incremental bundling, sub-millisecond invalidation, 50%+ faster compilation than esbuild, 40%+ faster bundling than Rollup, and memory-efficient caching. Ships TypeScript types and uses napi-rs for Node.js bindings. Actively developed with frequent releases.
npm install astro-redone-rustNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a builder, compile a single TypeScript file, bundle a project, and clean up resources.
Upgrade Node.js to version 18 or later.
Update code to use async createBuilder and call methods on the returned Builder instance.
Add format: 'esm' or 'cjs' to createBuilder options.
Set moduleResolution to 'bundler' or 'node16' in tsconfig.json.
Change const redone = require('redone') to import ... from 'redone' and ensure your package.json has "type": "module".Use import { createBuilder } from 'redone' instead of import redone from 'redone'.Install Rust from https://rustup.rs, then run 'pnpm -C packages/redone build:rust'.