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

https://github.com/seebigs/bundl-minify


https://github.com/seebigs/bundl-minify

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# bundl-minify

*Minify your bundles for smaller, production-ready code*

*Runs with the amazing [Bundl](https://github.com/seebigs/bundl) build tool*

## Install

```
$ npm install --save-dev bundl-minify
```

## Use

```js
var Bundl = require('bundl');
var minify = require('bundl-minify');

new Bundl(targets)
.then(minify())
.then(write())
.go();
```

## Options

### charset
Defaults to `utf8`

### sourcemap
*Experimental*

- true = export with same name as bundle.js.map
- { inline: true } = put map inline at bottom of bundle