weboptimizer 2.0.1176 → 2.0.1179
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 +4 -2
- package/readme.md +4 -4
- package/webpackConfigurator.js +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1179",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -774,7 +774,9 @@
|
|
|
774
774
|
"__evaluate__": "/(?:^|\\/)webpack(?:$|\\/)/"
|
|
775
775
|
}
|
|
776
776
|
],
|
|
777
|
-
"include": [
|
|
777
|
+
"include": [
|
|
778
|
+
"@jest/globals"
|
|
779
|
+
]
|
|
778
780
|
}
|
|
779
781
|
},
|
|
780
782
|
"modules": "__implicit__"
|
package/readme.md
CHANGED
|
@@ -40,11 +40,11 @@ or node. All native web types like html, css and JavaScript are supported
|
|
|
40
40
|
natively in their latest language specification through preconfigured
|
|
41
41
|
transpiler.
|
|
42
42
|
|
|
43
|
-
Content
|
|
44
|
-
-------
|
|
45
|
-
|
|
46
43
|
<!--Place for automatic generated table of contents.-->
|
|
47
|
-
|
|
44
|
+
<div class="doc-toc" style="display:none">
|
|
45
|
+
<!--|deDE:Inhalt-->
|
|
46
|
+
<h2 id="content">Content</h2>
|
|
47
|
+
</div>
|
|
48
48
|
|
|
49
49
|
Features
|
|
50
50
|
--------
|
package/webpackConfigurator.js
CHANGED
|
@@ -115,9 +115,16 @@ 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
|
-
|
|
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
|
|
121
128
|
/// region plugins
|
|
122
129
|
|
|
123
130
|
var pluginInstances = []; //// region define modules to ignore
|