terser-webpack-plugin
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.2.1"></a> | ||
## [1.2.1](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v1.2.0...v1.2.1) (2018-12-27) | ||
### Bug Fixes | ||
* don't crash when no extracted comments ([#49](https://github.com/webpack-contrib/terser-webpack-plugin/issues/49)) ([efad586](https://github.com/webpack-contrib/terser-webpack-plugin/commit/efad586)) | ||
<a name="1.2.0"></a> | ||
@@ -7,0 +17,0 @@ # [1.2.0](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v1.1.0...v1.2.0) (2018-12-22) |
@@ -268,3 +268,3 @@ "use strict"; | ||
if (commentsFile && extractedComments.length > 0) { | ||
if (commentsFile && extractedComments && extractedComments.length > 0) { | ||
if (commentsFile in compilation.assets) { | ||
@@ -271,0 +271,0 @@ const commentsFileSource = compilation.assets[commentsFile].source(); |
{ | ||
"name": "terser-webpack-plugin", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Terser plugin for webpack", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
47642