terser 4.1.2 → 4.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of terser might be problematic. Click here for more details.

package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v4.1.3
4
+
5
+ - Several issues with the `reduce_vars` option were fixed.
6
+ - Starting this version, we only have a dist/bundle.min.js
3
7
 
4
8
  ## v4.1.2
5
9
 
package/bin/uglifyjs CHANGED
@@ -11,10 +11,7 @@ var info = require("../package.json");
11
11
  var path = require("path");
12
12
  var program = require("commander");
13
13
 
14
- var bundle_path = __dirname + (process.env.TERSER_NO_BUNDLE ?
15
- "/../dist/bundle.js" :
16
- "/../dist/bundle.min.js");
17
- var UglifyJS = require(bundle_path);
14
+ var UglifyJS = require("..");
18
15
  try {
19
16
  require("source-map-support").install();
20
17
  } catch (err) {}