assets-webpack-plugin
Advanced tools
Comparing version 6.0.4 to 6.0.5
@@ -8,2 +8,5 @@ # Change Log | ||
## 6.0.5 - 2020-11-13 | ||
* Adds [#301](https://github.com/ztoben/assets-webpack-plugin/pull/310) | ||
## 6.0.4 - 2020-11-13 | ||
@@ -10,0 +13,0 @@ * Adds the `includeAuxiliaryAssets` option |
@@ -98,3 +98,3 @@ 'use strict'; | ||
if (self.options.includeAuxiliaryAssets && stats.entrypoints[chunkName].auxiliaryAssets) { | ||
if (self.options.includeAuxiliaryAssets && chunkName && stats.entrypoints[chunkName].auxiliaryAssets) { | ||
assets = [].concat(_toConsumableArray(assets), _toConsumableArray(stats.entrypoints[chunkName].auxiliaryAssets)); | ||
@@ -101,0 +101,0 @@ } |
@@ -96,3 +96,3 @@ const fs = require('fs') | ||
if (self.options.includeAuxiliaryAssets && stats.entrypoints[chunkName].auxiliaryAssets) { | ||
if (self.options.includeAuxiliaryAssets && chunkName && stats.entrypoints[chunkName].auxiliaryAssets) { | ||
assets = [...assets, ...stats.entrypoints[chunkName].auxiliaryAssets] | ||
@@ -99,0 +99,0 @@ } |
{ | ||
"name": "assets-webpack-plugin", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"description": "Emits a json file with assets paths", | ||
@@ -46,5 +46,5 @@ "main": "dist/index.js", | ||
"snazzy": "9.0.0", | ||
"standard": "16.0.2", | ||
"standard": "16.0.3", | ||
"style-loader": "2.0.0", | ||
"webpack": "5.4.0" | ||
"webpack": "5.9.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "dependencies": { |
42091