✅ Zero-config ESM/TS package builder.
Powered by oxc, rolldown and rolldown-plugin-dts.
The obuild project aims to be the next-generation successor to current unbuild.
- 🌱 Fresh rewrite with cleanups and removal of legacy features.
- 🚀 Uses oxc and rolldown instead of rollup and mkdist.
- 👌 Strict ESM-compliant imports with explicit extensions.
- 🔒 Types are build with isolated declaration constraints.
- 🪦 No support for CommonJS output.
Some differences are not easy to adopt. Developing as a standalone project allows faster progress and dogfooding in real projects.
# bundle
npx obuild ./src.index.ts
# transform
npx obuild ./src/runtime/:./dist/runtime
You can use --dir
to set working directory.
Note
Auto inference similar to unbuild coming soon (#4).
- 📦 obuild itself
- 🌳 rou3
Important
This is a proof-of-concept project.
Features are incomplete, and output behavior may change between versions.
Feedback and contributions are very welcome! If you'd like to make changes with more than a few lines of code, please open an issue first to discuss.
💛 Released under the MIT license.