weboptimizer 2.0.1501 → 2.0.1503
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/index.js +3 -3
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -83,7 +83,7 @@ var main = function main(context) {
|
|
|
83
83
|
}, processOptions);
|
|
84
84
|
childProcesses = [];
|
|
85
85
|
processPromises = [];
|
|
86
|
-
possibleArguments = ['build', 'build:
|
|
86
|
+
possibleArguments = ['build', 'build:types', 'clear', 'document', 'lint', 'preinstall', 'serve', 'test', 'test:browser', 'test:coverage', 'test:coverage:report', 'check:types'];
|
|
87
87
|
closeEventHandlers = [];
|
|
88
88
|
if (!(configuration.givenCommandLineArguments.length > 2)) {
|
|
89
89
|
_context3.next = 118;
|
|
@@ -136,7 +136,7 @@ var main = function main(context) {
|
|
|
136
136
|
NOTE: If we have a dependency cycle we need to preserve files
|
|
137
137
|
during pre-install phase.
|
|
138
138
|
*/
|
|
139
|
-
if (!(!['build', 'build:
|
|
139
|
+
if (!(!['build', 'build:types', 'preinstall', 'serve', 'test', 'test:browser', 'test:coverage', 'test:coverage:report'].includes(configuration.givenCommandLineArguments[2]) && possibleArguments.includes(configuration.givenCommandLineArguments[2]))) {
|
|
140
140
|
_context3.next = 67;
|
|
141
141
|
break;
|
|
142
142
|
}
|
|
@@ -548,7 +548,7 @@ var main = function main(context) {
|
|
|
548
548
|
_context3.next = 118;
|
|
549
549
|
break;
|
|
550
550
|
case 117:
|
|
551
|
-
if (['build:
|
|
551
|
+
if (['build:types', 'check:types', 'lint', 'serve', 'test:browser'].includes(configuration.givenCommandLineArguments[2])) handleTask(configuration.givenCommandLineArguments[2]);
|
|
552
552
|
case 118:
|
|
553
553
|
finished = false;
|
|
554
554
|
closeHandler = function closeHandler() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1503",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"babel-loader": "^9.1.3",
|
|
101
101
|
"babel-plugin-transform-modern-regexp": "^0.0.6",
|
|
102
102
|
"babel-preset-minify": "^0.5.2",
|
|
103
|
-
"clientnode": "3.0.
|
|
103
|
+
"clientnode": "3.0.1177",
|
|
104
104
|
"ejs": "^3.1.10",
|
|
105
105
|
"exports-loader": "^5.0.0",
|
|
106
106
|
"extract-loader": "^5.1.0",
|