---
url: /reference/Interface.MinifyResult.md
---
# Interface: MinifyResult

The result of minification.

## Extends

* `MinifyResult`

## Properties

### code

* **Type**: `string`

#### Inherited from

`OriginalMinifyResult.code`

***

### errors

* **Type**: `OxcError`\[]

#### Inherited from

`OriginalMinifyResult.errors`

***

### legalComments

* **Type**: `string`\[]

Legal comments extracted from the source code.
Only populated when `codegen.legalComments` is `"linked"` or `"external"`.

#### Inherited from

`OriginalMinifyResult.legalComments`

***

### mangleCache?

* **Type**: `Record`<`string`, `string` | `false`>
* **Optional**

Updated property-name cache sorted by original name. Present when `mangleProps` ran on a
parse without errors.

#### Inherited from

`OriginalMinifyResult.mangleCache`

***

### map?

* **Type**: `SourceMap`
* **Optional**

#### Inherited from

`OriginalMinifyResult.map`
