ember-material-icons
Version:
Google Material icons for your ember-cli app
33 lines (25 loc) • 794 B
Markdown
[](https://travis-ci.org/ember-cli/broccoli-uglify-sourcemap)
A broccoli filter that applies uglify-js while properly generating or
maintaining sourcemaps.
### installation
```sh
npm install --save broccoli-uglify-sourcemap
```
### usage
```js
var uglify = require('broccoli-uglify-sourcemap');
// basic usage
var uglified = uglify(input);
// advanced usage
var uglified = uglify(input, {
mangle: true, // defaults to true
compress: true, // defaults to true
sourceMapIncludeSources: true // defaults to true
exclude: [..] // array of globs, to not minify
//...
sourceMapConfig: {
enabled: true, // defaults to true
extensions: [ 'js' ] // defaults to [ 'js' ]
}
});
```