# @paulmedynski/uglify-es-brunch

> Adds uglify-es support to Brunch.

Latest version **0.9.3** (published 2020-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @paulmedynski/uglify-es-brunch
pnpm add @paulmedynski/uglify-es-brunch
yarn add @paulmedynski/uglify-es-brunch
bun add @paulmedynski/uglify-es-brunch
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.3 |
| Published | 2020-05-01 |
| First published | 2018-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paul Medynski |
| Maintainers | paulmedynski |
| Keywords | uglify-es, brunch |

## Links

- npm: https://www.npmjs.com/package/@paulmedynski/uglify-es-brunch
- Repository: https://github.com/paulmedynski/uglify-es-brunch
- Issues: https://github.com/paulmedynski/uglify-es-brunch/issues
- npm.io page: https://npm.io/package/@paulmedynski/uglify-es-brunch

## Recent versions

- 0.9.3 (latest) — 2020-05-01
- 0.9.2 — 2018-11-30
- 0.9.1 — 2018-11-30
- 0.9.0 — 2018-11-30

## README

# uglify-es-brunch
An uglify-es plugin for Brunch.

## Installation

`npm install -D @paulmedynski/uglify-es-brunch`

The `uglify-es` and `brunch` modules are specified as peer dependencies, so you may install whatever versions of those you wish.

## Configuration
Add an `uglify-es` object to your Brunch config's `plugins` object:

```
{
  plugins:
  {
    'uglify-es':
    {
      <options here>
    }
  }
}
```

You may specify any options that are accepted by `uglify-es` as described
in the API Reference section [here](https://www.npmjs.com/package/uglify-es).
This plugin doesn't parse or normalize any options - they are passed as-is to
`uglify-es`.  The options are held by reference, so they may be modified by
`uglify-es`, for example the `nameCache` option.

Sample config:

```
{
  plugins:
  {
    'uglify-es':
    {
      // When warnings are requested, they are treated like errors by
      // the plugin.
      warnings: true,

      // Produce ECMA2017 code.
      ecma: 8,

      // Mangle top-level variable and function names.
      toplevel: true,

      // Consistently mangle names across files.
      nameCache: {},

      parse:
      {
        // Support #!command as the first line.
        shebang: true
      }
    }
  }
}
```

---
_Source: https://npm.io/package/@paulmedynski/uglify-es-brunch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
