An open API service indexing awesome lists of open source software.

https://github.com/cushjs/cush-cli

Bundle your project whenever a file changes
https://github.com/cushjs/cush-cli

bundler cush nodejs

Last synced: about 1 month ago
JSON representation

Bundle your project whenever a file changes

Awesome Lists containing this project

README

          

# cush-cli v0.1.0

The easiest way to bundle your project using `cush`.

```sh
cush -o -t [-p]
```

 

The `platform` may exist in `dest` instead of being
specified separately. The only difference is the bundle path.

```sh
cush index.js -o bundle.web.js

# almost identical to:
cush index.js -o bundle.js -t web
```

 

The `-p` flag minifies the bundle and exits after the first build.
Additionally, the bundle name has a content hash. This is known as
the "production" bundle.