fix: minified should not accept optional argument (#10923)

This commit is contained in:
Huáng Jùnliàng
2019-12-25 13:13:23 -05:00
committed by Nicolò Ribaudo
parent 00758308ae
commit db3c31a8af
4 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1 @@
() => 42;

View File

@@ -0,0 +1,3 @@
{
"args": ["--out-file", "script2.js", "--no-comments", "--minified", "script.js"]
}

View File

@@ -0,0 +1 @@
"use strict";(function(){return 42});