Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace uglify-js mentions with terser #218

Merged
merged 1 commit into from
Aug 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ember-cli-uglify
[![Build Status](https://travis-ci.org/ember-cli/ember-cli-uglify.svg?branch=master)](https://travis-ci.org/ember-cli/ember-cli-uglify)
[![Build status](https://ci.appveyor.com/api/projects/status/xbx40pk5b4ykawjh/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/ember-cli-uglify/branch/master)

[UglifyJS](https://github.com/mishoo/UglifyJS2) for [Ember.js](http://emberjs.com/).
[terser](https://github.com/terser/terser) integration to
[ember-cli](http://cli.emberjs.com/) to uglify code.


Installation
Expand All @@ -22,7 +23,7 @@ Usage
After installing `ember-cli-uglify` it will automatically hook into the build
pipeline and minify your JS files in production builds.

If you want to customize how `ember-cli-uglify` is running UglifyJS under the
If you want to customize how `ember-cli-uglify` is running terser under the
hood you have several configuration options available:

```js
Expand Down Expand Up @@ -54,8 +55,8 @@ var app = new EmberApp({

- `exclude?: string[]`: A list of paths or globs to exclude from minification

- `uglify?: UglifyOptions`: A hash of [options](https://github.com/mishoo/UglifyJS2#minify-options)
that are passed directly to UglifyJS
- `uglify?: UglifyOptions`: A hash of [options](https://github.com/terser/terser#minify-options)
that are passed directly to terser


### Source Maps
Expand Down