Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexindigo committed Feb 2, 2016
1 parent a3a04c4 commit 2b4baee
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 30 deletions.
10 changes: 10 additions & 0 deletions .bithoundrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"ignore": [
"**/node_modules/**",
"**/test/fixtures/**"
],
"test": [
"**/test.js",
"**/test/**"
]
}
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## multibundle
# multibundle

Runs requirejs bundling on multiple bundles in parallel.

[![Build Status](https://travis-ci.org/alexindigo/multibundle.svg)](https://travis-ci.org/alexindigo/multibundle)
[![Build Status](https://img.shields.io/travis/alexindigo/multibundle/master.svg)](https://travis-ci.org/alexindigo/multibundle)
[![Coverage Status](https://img.shields.io/coveralls/alexindigo/multibundle/master.svg)](https://coveralls.io/github/alexindigo/multibundle?branch=master)

## Example

Expand Down Expand Up @@ -412,3 +413,5 @@ Executes `r.js` with following configs (in parallel).
]
}
```

For more details check out [test folder](test/fixtures).
28 changes: 0 additions & 28 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,34 +1,6 @@
/**
* Runs requirejs bundling on multiple bundles in parallel.
*
* [![Build Status](https://travis-ci.org/alexindigo/multibundle.svg)](https://travis-ci.org/alexindigo/multibundle)
*
* @example
*
* var multibundle = require('multibundle')
* , options = require('./options/bundles.js')
* , config = require('./options/config.js')
* ;
*
* // optimize
* var bundler = multibundle(config, options);
*
* bundler.on('data', function(options)
* {
* console.log('Processed', options.name);
* });
*
* bundler.on('end', function()
* {
* console.log('Processed all the bundles');
* });
*
* bundler.on('error', function(error)
* {
* console.error(error);
* });
*
*
* @module Multibundle
*/

Expand Down

0 comments on commit 2b4baee

Please sign in to comment.