weboptimizer 2.0.1254 → 2.0.1255

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1254",
3
+ "version": "2.0.1255",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -156,7 +156,7 @@ try {
156
156
  } finally {
157
157
  _iterator2.f();
158
158
  }
159
- if (htmlAvailable && configuration.favicon && plugins.Favicon && _clientnode["default"].isFileSync(configuration.favicon.logo)) pluginInstances.push(new plugins.Favicon(configuration.favicon));
159
+ if (htmlAvailable && configuration.favicon && plugins.Favicon && _clientnode["default"].isFileSync([].concat(configuration.favicon.logo)[0])) pluginInstances.push(new plugins.Favicon(configuration.favicon));
160
160
  //// endregion
161
161
  //// region provide offline functionality
162
162
  if (htmlAvailable && configuration.offline && plugins.Offline) {