2.8.4 • Published 2 years ago

@kot2000/bunbuild v2.8.4

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

.BunBuild

BunBuild is bundling and building manager for Bun.

Installation

You have to have bun installed and added to your env.

bun install -g @kot2000/bunbuild@latest

Updating

You have to have bun installed and added to your env.

bunbuild update

Quick Start

Paste this command to your terminal to begin.

bunbuild init

It will create file called ".bunbuild".

    # !bunbuild | Do not edit this file manually; automatically generated.
    
    files=[]
    
    [settings]
    outdir = "./out"
    target = "browser"
    format = "esm"
    splitting = false
    sourcemap = "none"
    minify = false
    naming = "./[dir]/[name].[ext]"
    root = "."

You can log settings and entry points of ".bunbuild" file with

    bunbuild info
  • Deleting bunbuild file
bunbuild delete

Entry Points

Add entry points with

bunbuild add <path>
  • For Example
bunbuild add ./lang.ts

Remove entry points with

bunbuild remove <path>
  • For Example
bunbuild remove ./old_lang.ts

Building and Settings

Building

bunbuild build
  • Build with watch mode
bunbuild build --watch

Set Setting

bunbuild set <name> <value>
  • For Example
bunbuild set minify true

Log Contents (Settings / Entry Points) of Bunbuild file

bunbuild info
2.8.4

2 years ago

2.8.3

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.0.0

2 years ago