weboptimizer 2.0.1610 → 2.0.1612
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 +7 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -135,7 +135,13 @@ var main = function main(context) {
|
|
|
135
135
|
NOTE: If we have a dependency cycle we need to preserve files
|
|
136
136
|
during pre-install phase.
|
|
137
137
|
*/
|
|
138
|
-
if (!(!['build', 'build:types', 'lint', 'preinstall', '
|
|
138
|
+
if (!(possibleArguments.includes(configuration.givenCommandLineArguments[2]) && !['build', 'build:types', 'lint', 'preinstall', 'test', 'test:browser', 'test:coverage', 'test:coverage:report'].includes(configuration.givenCommandLineArguments[2]) ||
|
|
139
|
+
/*
|
|
140
|
+
NOTE: If target artefacts are located next to their source
|
|
141
|
+
files, we need to clear them first when running dev mode
|
|
142
|
+
(watching source files and reloading build automatically).
|
|
143
|
+
*/
|
|
144
|
+
['service', 'watch'].includes(configuration.givenCommandLineArguments[2]) && configuration.path.source.base === configuration.path.target.base)) {
|
|
139
145
|
_context3.next = 20;
|
|
140
146
|
break;
|
|
141
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1612",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"babel-loader": "^10.0.0",
|
|
99
99
|
"babel-plugin-transform-modern-regexp": "^0.0.6",
|
|
100
100
|
"babel-preset-minify": "^0.5.2",
|
|
101
|
-
"clientnode": "3.0.
|
|
101
|
+
"clientnode": "3.0.1311",
|
|
102
102
|
"ejs": "^3.1.10",
|
|
103
103
|
"exports-loader": "^5.0.0",
|
|
104
104
|
"extract-loader": "^5.1.0",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"postcss-url": "^10.1.3",
|
|
155
155
|
"shx": "^0.4.0",
|
|
156
156
|
"style-loader": "^4.0.0",
|
|
157
|
-
"stylelint": "^16.
|
|
157
|
+
"stylelint": "^16.25.0",
|
|
158
158
|
"stylelint-config-standard": "^39.0.0",
|
|
159
159
|
"stylelint-config-standard-scss": "^16.0.0",
|
|
160
160
|
"typescript-eslint": "^8.45.0",
|