2.1.0 • Published 3 years ago

jsbun v2.1.0

Weekly downloads
25
License
MIT
Repository
github
Last release
3 years ago

jsbun

An extremely lightweight bundler that does nothing but merge your js files using commonjs.

Installation

npm install --save-dev jsbun

(or) globally:

npm install -g jsbun

Example

The best example is the npm test scenario used in this project.

Usage

CLI

jsbun -o bundled.js js/index.js

Optional arguments are:

--watch (-w) [pattern]         rerun when the files change (default pattern is '**/*.js')
--output (-o) fileName         output the bundle to a file instead of to stdout

Code

const jsbun = require('jsbun');
const bundled = await jsbun('./js/index.js');
console.log(bundled);
2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago