2.1.0 • Published 1 year ago

buildes v2.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Buildes

with the help of this package, you can easily convert the source code into a bundle through esbuild

Usage

// builder.js
const {builder} = require('buildes')
builder({
	input: 'index.js',
	bundle: true,
	packages: 'external',
	platform: 'node',
	minimized: true,
	output: 'dist/bundle.js'
})

// package.json

"scripts": {
	"build": "node builder.js"
}

API

input: string - this field for input file

bundle: boolean - for bundle

packages: string - to exclude external packages

platform: string - for which platform used

minimized: boolean - for minify code

output: string - path for after build

2.1.0

1 year ago

2.0.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago