0.2.0 • Published 2 years ago

@ubermanu/bobun v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@ubermanu/bobun

An all-in-one bundler using Bun.build.

Install

bun add @ubermanu/bobun -d

Usage

bunx bobun [options]

Options

  • --minify Minify the output files
  • --sourcemap Generate sourcemaps

Quick Start

Bobun reads your package.json file and determines what to build without you providing any configuration.

For example, if you have a package.json file like this:

{
  "name": "hello-world",
  "version": "1.0.0",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "bin": {
    "hello": "dist/bin.js"
  }
}

Then you can build your package with:

bunx bobun

Which will generate these files:

src/index.ts → dist/index.mjs
src/index.ts → dist/index.d.ts
src/bin.ts → dist/bin.js
0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago