duet-build

1.0.0 • Public • Published

duet-build

An tiny, opinionated command-line build tool for creating duet app bundles.

$ npm install --save-dev duet-build

Usage

$ duet-build

When you run the command with no arguments, it will attempt to bundle src/index.js and output the bundled index.js and a bare-bones index.html file into the public/ directory.

The project is bundled with browserify, with the babel ES2015 and uglify transforms applied.

Arguments

  • --entry="path/to/index.js" - path to the file you want to bundle.
  • --out="output/path" - path to the directory you want to output to the bundle to.
  • --title="App Title" - the <title> tag in index.html will contain the argument's value.
  • --debug - by passing this flag flag, browserify will run in debug mode and the uglify transform will not be applied.

Projects using this tool

Readme

Keywords

none

Package Sidebar

Install

npm i duet-build

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • colingourlay