uglify-es-loader
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -1,2 +0,2 @@ | ||
var UglifyJS = require("uglify-es"); | ||
var UglifyJS = require("terser"); | ||
var loaderUtils = require('loader-utils'); | ||
@@ -49,3 +49,3 @@ var sourceMap = require('source-map'); | ||
var opts = loaderUtils.getOptions(this) || {}; | ||
var _opts = Object.assign(opts, {}) | ||
var _opts = Object.assign({}, opts) | ||
delete _opts.enableSourceMap | ||
@@ -52,0 +52,0 @@ |
{ | ||
"name": "uglify-es-loader", | ||
"version": "3.0.3", | ||
"description": "Uglify.js loader for webpack(fork from uglify-loader, using uglify-es@3)", | ||
"version": "3.0.4", | ||
"description": "Uglify.js loader for webpack(fork from uglify-loader, using terser@3)", | ||
"main": "index.js", | ||
@@ -20,4 +20,4 @@ "repository": { | ||
"source-map": "^0.5.6", | ||
"uglify-es": "^3.3.9" | ||
"terser": "^3.10.11" | ||
} | ||
} |
# uglify-es-loader | ||
Uglify loader for webpack(fork from uglify-loader, using uglify-es@3) | ||
Uglify loader for webpack(fork from uglify-loader, using terser@3) | ||
To install | ||
## To install | ||
--- | ||
@@ -11,3 +11,3 @@ | ||
Use Case | ||
## Use Case | ||
--- | ||
@@ -17,3 +17,3 @@ Webpack has UglifyJSPlugin that uglifies the output after bundling. | ||
Example | ||
## Example | ||
--- | ||
@@ -95,1 +95,7 @@ **Webpack 1** | ||
``` | ||
## Update | ||
- `3.0.4` | ||
Replaced uglify-es with terser. |
5669
99
+ Addedterser@^3.10.11
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedsource-map-support@0.5.21(transitive)
+ Addedterser@3.17.0(transitive)
- Removeduglify-es@^3.3.9
- Removedcommander@2.14.1(transitive)
- Removeduglify-es@3.3.10(transitive)