bonk
Packages js/coffeescript/jade assets into a single js file.
Last updated 8 years ago by kaptajnen .
Original npm · Tarball · package.json
$ cnpm install bonk 
SYNC missed versions from official npm registry.

bonk

Bundle your assets to a single js file

Usage

Below is an example of all the available features. It will bundle the contents of src/, expose lib/some/file.js as the module 'mymodule', add lib/jquery to the output without wrapping it in the commonjs wrapper.

var fs = require('fs');
var Bonk = require('./lib/bonk').Bonk;
var output = new Bonk().bundle(['src/', {name: 'mymodule', file: 'lib/some/file.js'}, {file: 'lib/jquery.js', bare: true}]);
fs.writeFileSync('app.js', output.js);

Current Tags

  • 1.0.2                                ...           latest (8 years ago)

2 Versions

  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |