Skip to content

joliss/broccoli-uglify-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broccoli-uglify-js

This package is deprecated in favor of broccoli-uglify-sourcemap.

UglifyJS2 filter for Broccoli.

Installation

npm install --save-dev broccoli-uglify-js

Usage

var uglifyJavaScript = require('broccoli-uglify-js');
tree = uglifyJavaScript(tree, options);

Options

The following options are supported:

  • mangle (passed through to UglifyJS): pass false to skip mangling names

  • compress (passed through to UglifyJS): pass false to skip compressing; pass an object to specify compressor options

  • output (passed through to UglifyJS): pass an object to specify additional output options

To Do

  • Enable ascii_only by default

Source Maps

Source maps are not yet supported.

About

UglifyJS filter for Broccoli

Resources

License

Stars

Watchers

Forks

Packages

No packages published