/bun-biome-rsbuild

Simple setup to try Bun, Biome/OXC and Rsbuild.

Primary LanguageTypeScript

Bun, Biome/OXC and Rsbuild Setup

Logo

Example setup with Bun, Biome and Rsbuild. To use Biome and OXC features in the editor install the Biome VS Code extension and the OXC VS Code extension.

# Develop (Opens page in browser)
bun start
# Build
bun run build
# Preview (Serves current build)
bun preview
# Format and Lint (Biome)
bun check:biome
# Lint (OXLint)
bun lint:oxlint
# Test with Bun
bun run test
# Check types with TypeScript
bun types

Notes

The Biome VS Code extension will fail to initialize if the @biomejs/biome dependency isn't available in the first workspace project. If you have other projects open in your workspace the workaround is to open this project in a separate window.