๐๏ธ
havn build
BuildCompile and bundle your application
Overview
Run a production-grade build pipeline for your havn project. Handles TypeScript compilation, asset bundling, tree-shaking, and generates source maps.
Usage
havn build [--env <name>] [--target <runtime>]Features
- โZero-config TypeScript support
- โIncremental builds via caching
- โSource map generation
- โTree-shaking & dead code elimination
- โMulti-target output (ESM / CJS / IIFE)
Example
~ 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)