broccoli-uglify-js

WebJar for broccoli-uglify-js

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

broccoli-uglify-js
Last Version

Last Version

0.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

broccoli-uglify-js
WebJar for broccoli-uglify-js
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/joliss/broccoli-uglify-js

Download broccoli-uglify-js

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/broccoli-uglify-js/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>broccoli-uglify-js</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/broccoli-uglify-js/
implementation 'org.webjars.npm:broccoli-uglify-js:0.1.3'
// https://jarcasting.com/artifacts/org.webjars.npm/broccoli-uglify-js/
implementation ("org.webjars.npm:broccoli-uglify-js:0.1.3")
'org.webjars.npm:broccoli-uglify-js:jar:0.1.3'
<dependency org="org.webjars.npm" name="broccoli-uglify-js" rev="0.1.3">
  <artifact name="broccoli-uglify-js" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='broccoli-uglify-js', version='0.1.3')
)
libraryDependencies += "org.webjars.npm" % "broccoli-uglify-js" % "0.1.3"
[org.webjars.npm/broccoli-uglify-js "0.1.3"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : uglify-js jar [2.4.11,2.5)
org.webjars.npm » broccoli-filter jar [0.1.6,0.2)

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.1.3