0.0.7 • Published 11 months ago
naka-bundler v0.0.7
naka-bundler
The naka bundler is a light CLI wrapper around bun. It lives as an executable that bundles and transpiles JavaScript/TypeScript files. It's used under the hood in naka to transform files for browser automation.
One of naka's key principles is performance, which is why we go through the song and dance of using bun to compile itself into an executable binary. We found it to be the fastest way to transpile and bundle files (even leveraging it in this manner).
It's a batteries-included implementation that doesn't offer any configuration. If you need some customization or configuration, you should use bun directly.
Usage
npx naka-bundler path/to/entry.ts path/to/out/dir