Skip to content

Commit

Permalink
Fix missing nth_identifier default in minify() (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichon-msft committed Sep 14, 2021
1 parent d88d610 commit c4fcdcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/minify.js
Expand Up @@ -11,6 +11,7 @@ import { AST_Toplevel, AST_Node } from "./ast.js";
import { parse } from "./parse.js";
import { OutputStream } from "./output.js";
import { Compressor } from "./compress/index.js";
import { base54 } from "./scope.js";
import { SourceMap } from "./sourcemap.js";
import {
mangle_properties,
Expand Down Expand Up @@ -113,6 +114,7 @@ async function minify(files, options) {
keep_classnames: false,
keep_fnames: false,
module: false,
nth_identifier: base54,
properties: false,
reserved: [],
safari10: false,
Expand Down

0 comments on commit c4fcdcc

Please sign in to comment.