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
- Host: GitHub
- URL: https://github.com/cushjs/cush-cli
- Owner: cushJS
- License: mit
- Created: 2018-05-31T21:03:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-15T07:45:37.000Z (over 7 years ago)
- Last Synced: 2026-04-29T17:42:20.422Z (about 1 month ago)
- Topics: bundler, cush, nodejs
- Language: CoffeeScript
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.