crabatool 1.0.349 → 1.0.350
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/tool/compress.js +2 -6
package/package.json
CHANGED
package/tool/compress.js
CHANGED
|
@@ -159,7 +159,7 @@ function compressAndMergeCss(inNames, rootPath, outName) {
|
|
|
159
159
|
});
|
|
160
160
|
|
|
161
161
|
var targetCss = utils.join(_tempSkinPath, outName);
|
|
162
|
-
compressCss(inNames, targetCss
|
|
162
|
+
compressCss(inNames, targetCss);
|
|
163
163
|
/*
|
|
164
164
|
var p = fork(_mergeCssPath, [`${[inNames]}`, `${[targetJs]}`, _compressArgs]);
|
|
165
165
|
p.on('exit', () => {
|
|
@@ -168,7 +168,7 @@ function compressAndMergeCss(inNames, rootPath, outName) {
|
|
|
168
168
|
*/
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
function compressCss(inNames, targetCss
|
|
171
|
+
function compressCss(inNames, targetCss) {
|
|
172
172
|
mergeTool.run({
|
|
173
173
|
inPath: inNames,
|
|
174
174
|
outPath: targetCss,
|
|
@@ -176,8 +176,4 @@ function compressCss(inNames, targetCss, onEnd) {
|
|
|
176
176
|
hidejspath: config.hidejspath,
|
|
177
177
|
ignoreCompress: config.ignoreCompress
|
|
178
178
|
});
|
|
179
|
-
|
|
180
|
-
if (onEnd) {
|
|
181
|
-
onEnd();
|
|
182
|
-
}
|
|
183
179
|
}
|