weboptimizer 2.0.1179 → 2.0.1180

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.1179",
3
+ "version": "2.0.1180",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -115,16 +115,9 @@ if (configuration.libraryName) libraryName = configuration.libraryName;else if (
115
115
  libraryName = configuration.name;
116
116
  if (['assign', 'global', 'this', 'var', 'window'].includes(configuration.exportFormat.self)) libraryName = _clientnode["default"].stringConvertToValidVariableName(libraryName);
117
117
  }
118
- if (libraryName === '*')
119
- /*
120
- NOTE: Maybe useful:
121
- libraryName = Object.keys(
122
- configuration.injection.entry.normalized
123
- ).map((name:string):string =>
124
- Tools.stringConvertToValidVariableName(name)
125
- )
126
- */
127
- libraryName = undefined; /// endregion
118
+ if (libraryName === '*') libraryName = ['assign', 'global', 'this', 'var', 'window'].includes(configuration.exportFormat.self) ? Object.keys(configuration.injection.entry.normalized).map(function (name) {
119
+ return _clientnode["default"].stringConvertToValidVariableName(name);
120
+ }) : undefined; /// endregion
128
121
  /// region plugins
129
122
 
130
123
  var pluginInstances = []; //// region define modules to ignore