-
Notifications
You must be signed in to change notification settings - Fork 618
/
Copy pathindex.ts
39 lines (29 loc) · 1.23 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/// <reference types="node" preserve="true" />
/**
* This library wraps terser in convenient handles for parallelization.
* It powers `@rushstack/webpack4-module-minifier-plugin` and `@rushstack/webpack5-module-minifier-plugin`
* but has no coupling with webpack.
*
* @packageDocumentation
*/
export type { MinifyOptions } from 'terser';
export type { ILocalMinifierOptions } from './LocalMinifier';
export { LocalMinifier } from './LocalMinifier';
export { MessagePortMinifier } from './MessagePortMinifier';
export { getIdentifier } from './MinifiedIdentifier';
export { minifySingleFileAsync as _minifySingleFileAsync } from './MinifySingleFile';
export { NoopMinifier } from './NoopMinifier';
export type {
IMinifierConnection,
IModuleMinificationCallback,
IModuleMinificationErrorResult,
IModuleMinificationRequest,
IModuleMinificationResult,
IModuleMinificationSuccessResult,
IModuleMinifier,
IModuleMinifierFunction
} from './types';
export type { IWorkerPoolMinifierOptions } from './WorkerPoolMinifier';
export { WorkerPoolMinifier } from './WorkerPoolMinifier';