https://github.com/seebigs/bundl-minify
https://github.com/seebigs/bundl-minify
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/seebigs/bundl-minify
- Owner: seebigs
- Created: 2016-08-05T14:27:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-17T19:57:31.000Z (about 8 years ago)
- Last Synced: 2025-02-15T20:53:06.352Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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