๐Ÿ—๏ธ

havn build

Build

Compile and bundle your application

Run a production-grade build pipeline for your havn project. Handles TypeScript compilation, asset bundling, tree-shaking, and generates source maps.

havn build [--env <name>] [--target <runtime>]
  • โœ“Zero-config TypeScript support
  • โœ“Incremental builds via caching
  • โœ“Source map generation
  • โœ“Tree-shaking & dead code elimination
  • โœ“Multi-target output (ESM / CJS / IIFE)
~ havn-shell
$ havn build --env production
โœ” Compiling TypeScript (2.3s)
โœ” Bundling assets (0.8s)
โœ” Generating source maps
โœ” Optimising output
๐Ÿ“ฆ Build complete โ€” dist/ (1.2 MB)