weboptimizer 2.0.1177 → 2.0.1178
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 +1 -1
- package/webpackConfigurator.js +11 -3
package/package.json
CHANGED
package/webpackConfigurator.js
CHANGED
|
@@ -115,9 +115,17 @@ 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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
/*
|
|
119
|
+
NOTE: Maybe useful:
|
|
120
|
+
|
|
121
|
+
if (libraryName === '*')
|
|
122
|
+
libraryName = Object.keys(
|
|
123
|
+
configuration.injection.entry.normalized
|
|
124
|
+
).map((name:string):string =>
|
|
125
|
+
Tools.stringConvertToValidVariableName(name)
|
|
126
|
+
)
|
|
127
|
+
*/
|
|
128
|
+
/// endregion
|
|
121
129
|
/// region plugins
|
|
122
130
|
|
|
123
131
|
var pluginInstances = []; //// region define modules to ignore
|