UNPKG

1.54 kBMarkdownView Raw
1# sake-bundle
2
3[![npm][npm-img]][npm-url]
4[![build][build-img]][build-url]
5[![dependencies][dependencies-img]][dependencies-url]
6[![downloads][downloads-img]][downloads-url]
7[![license][license-img]][license-url]
8[![chat][chat-img]][chat-url]
9
10Add `bundle` task and global to your Sakefile. Bundle up your JavaScript apps
11using [Handroll](https://github.com/zeekay/handroll).
12
13## Install
14```bash
15$ npm install sake-bundle --save-dev
16```
17
18## Usage
19```javascript
20use('sake-bundle')
21
22task('build', 'build project', => {
23 bundle.write({entry: 'src/index.js'})
24})
25```
26
27## License
28[BSD][license-url]
29
30[build-img]: https://img.shields.io/travis/sakejs/sake-bundle.svg
31[build-url]: https://travis-ci.org/sakejs/sake-bundle
32[chat-img]: https://badges.gitter.im/join-chat.svg
33[chat-url]: https://gitter.im/sakejs/chat
34[coverage-img]: https://coveralls.io/repos/sakejs/sake-bundle/badge.svg?branch=master&service=github
35[coverage-url]: https://coveralls.io/github/sakejs/sake-bundle?branch=master
36[dependencies-img]: https://david-dm.org/sakejs/sake-bundle.svg
37[dependencies-url]: https://david-dm.org/sakejs/sake-bundle
38[downloads-img]: https://img.shields.io/npm/dm/sake-bundle.svg
39[downloads-url]: http://badge.fury.io/js/sake-bundle
40[license-img]: https://img.shields.io/npm/l/sake-bundle.svg
41[license-url]: https://github.com/sakejs/sake-bundle/blob/master/LICENSE
42[npm-img]: https://img.shields.io/npm/v/sake-bundle.svg
43[npm-url]: https://www.npmjs.com/package/sake-bundle