uglifyjs-webpack-plugin
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="1.2.4"></a> | ||
## [1.2.4](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.3...v1.2.4) (2018-03-16) | ||
### Bug Fixes | ||
* **index:** correct default asset name `{RegExp}` (`options.test`) ([#259](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/259)) ([f9e55fe](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/f9e55fe)) | ||
* **index:** don't remove legal comments by default (`options.extractComments`) ([#250](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/250)) ([b31b574](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/b31b574)) | ||
<a name="1.2.3"></a> | ||
@@ -7,0 +18,0 @@ ## [1.2.3](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.2...v1.2.3) (2018-03-10) |
@@ -69,3 +69,3 @@ 'use strict'; | ||
_options$test = options.test, | ||
test = _options$test === undefined ? /\.(js?)(\?.+)?$/i : _options$test, | ||
test = _options$test === undefined ? /\.js(\?.*)?$/i : _options$test, | ||
_options$warningsFilt = options.warningsFilter, | ||
@@ -98,3 +98,3 @@ warningsFilter = _options$warningsFilt === undefined ? function () { | ||
output: { | ||
comments: false | ||
comments: extractComments ? false : /^\**!|@preserve|@license|@cc_on/ | ||
} | ||
@@ -101,0 +101,0 @@ }, uglifyOptions) |
{ | ||
"name": "uglifyjs-webpack-plugin", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "UglifyJS plugin for webpack", | ||
@@ -5,0 +5,0 @@ "author": "webpack Contrib Team", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52341