Skip to content

Commit

Permalink
fix: fix uglify-js@3.17.0 error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 4, 2022
1 parent 60542a1 commit 45ec04b
Show file tree
Hide file tree
Showing 6 changed files with 664 additions and 570 deletions.
7 changes: 6 additions & 1 deletion index.d.ts
@@ -1,4 +1,4 @@
// Type definitions for UglifyJS 3.16
// Type definitions for UglifyJS 3.17
// Project: https://github.com/mishoo/UglifyJS
// Definitions by: Alan Agius <https://github.com/alan-agius4>
// Tanguy Krotoff <https://github.com/tkrotoff>
Expand Down Expand Up @@ -413,6 +413,11 @@ export interface MinifyOptions {
* @default {}
*/
compress?: false | CompressOptions | undefined;
/**
* Parse as a single expression, e.g. JSON.
* @default false
*/
expression?: boolean | undefined;
/**
* Pass `false` to skip mangling names,
* or pass an object to specify mangle options (see below).
Expand Down

0 comments on commit 45ec04b

Please sign in to comment.