8000 GitHub - oritwoen/obuild: 📦 😯 Zero-config ESM/TS package builder. powered by oxc, rolldown and rolldown-plugin-dts.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from unjs/obuild

📦 😯 Zero-config ESM/TS package builder. powered by oxc, rolldown and rolldown-plugin-dts.

License

Notifications You must be signed in to change notification settings

oritwoen/obuild

 
 

Repository files navigation

📦 obuild 😯

✅ 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.

Usage

# 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).

Currently used by

Proof of concept

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.

License

💛 Released under the MIT license.

About

📦 😯 Zero-config ESM/TS package builder. powered by oxc, rolldown and rolldown-plugin-dts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.7%
  • JavaScript 11.3%
0