Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

unbuild

github.com

  • Free plan
6.7 Club score Visit github.com

What unbuild is

unbuild is a free, MIT-licensed unified JavaScript build system published under the unjs GitHub organization. Its Rollup-based bundler supports TypeScript and produces CommonJS and module formats with type declarations. Configuration and entry points can be inferred from package.json, or supplied through an unbuild key or supported build.config file. Integration with mkdist enables bundleless distributions through file-to-file transpilation. During development, the --stub option creates a jiti-powered dist stub so projects can be linked without watching and rebuilding. unbuild integrates with untyped for type generation. Build checks look for possible missing or unused dependencies and can fail continuous integration when issues appear. Command-line output includes output size and exports. Listed capabilities also include code splitting, tree shaking, source maps, and a plugin API. The maintainers say they are experimenting with obuild as a next-generation successor based on rolldown. No paid plans or free trial are listed.

Who it suits

It suits JavaScript and TypeScript developers who need package builds, bundleless output, dependency checks, or extensible build configuration. Its MIT license fits projects seeking free tooling.

Good to know, and what to watch

  • Rollup-based TypeScript bundling
  • Generates CommonJS, modules, and declarations
  • Supports bundleless mkdist integration
  • Checks missing and unused dependencies
  • MIT licensed with plugin API
  • No free trial
  • Maintainers are experimenting with a successor project
  • Configuration requires supported package or build files

MIT-licensed open-source software

Free

unbuild

Free

Free plan

The verdict

unbuild covers package-building workflows from bundled output to bundleless transpilation, with checks and extension points included. Its free MIT license and TypeScript support are clear advantages, while projects should note the stated successor experimentation.

What the maker publishes

Additional integration
The README lists integration with untyped for type generation. source
Build checks
It checks for potential missing and unused dependencies and can fail CI when it finds build issues. source
Bundleless builds
Integration with mkdist enables bundleless distributions with file to file transpilation. source
Bundling
Its Rollup based bundler supports TypeScript and generates CommonJS and module formats plus type declarations. source
Configuration
It can infer build configuration and entries from package.json. source
Configuration formats
Configuration can be provided through an unbuild key in package.json or a build.config file with JavaScript, TypeScript, or JSON extensions listed in the README. source
Configuration options
Configuration can be provided through an unbuild key in package.json or a build.config file in supported JavaScript, TypeScript, or JSON extensions. source
Development mode
The --stub option creates a dist stub powered by jiti, so a project can be linked without watching and rebuilding during development. source
Development workflow
The --stub option creates a dist stub using jiti so a project can be linked without watching and rebuilding during development. source
License
The repository is released under the MIT license. source
Maker
The repository is published under the unjs GitHub organization. source
Output inspection
CLI output includes output size and exports. source
Purpose
unbuild is a unified JavaScript build system. source
Successor project
The README says the maintainers are experimenting with obuild as a next generation successor based on rolldown. source
Type generation
unbuild integrates with untyped for type generation. source

Checked against the maker's pages on 8 Oct 2026.