swico 1.3.3-beta.1 → 1.3.3-beta.2
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/src/command/start.js +0 -3
package/package.json
CHANGED
package/src/command/start.js
CHANGED
|
@@ -176,12 +176,10 @@ var createCompileListener = function (compiler) {
|
|
|
176
176
|
compiler.hooks.done.tap('done', function (stats) {
|
|
177
177
|
var info = stats === null || stats === void 0 ? void 0 : stats.toJson();
|
|
178
178
|
if (stats === null || stats === void 0 ? void 0 : stats.hasErrors()) {
|
|
179
|
-
console.log('1', info);
|
|
180
179
|
tools_1.toast.error(info === null || info === void 0 ? void 0 : info.errors.map(function (item) { return item.message || item.stack; }).filter(function (item1) { return !filterStyleFileList.find(function (item2) { return item1.includes(item2); }); }));
|
|
181
180
|
return;
|
|
182
181
|
}
|
|
183
182
|
if (stats === null || stats === void 0 ? void 0 : stats.hasWarnings()) {
|
|
184
|
-
console.log('2', info);
|
|
185
183
|
var warnings = info.warnings;
|
|
186
184
|
warnings.some(function (item) {
|
|
187
185
|
var msg = item.message || item.stack;
|
|
@@ -190,7 +188,6 @@ var createCompileListener = function (compiler) {
|
|
|
190
188
|
return;
|
|
191
189
|
}
|
|
192
190
|
});
|
|
193
|
-
return;
|
|
194
191
|
}
|
|
195
192
|
tools_1.toast.info("Compiled successfully in ".concat(info === null || info === void 0 ? void 0 : info.time, "ms"));
|
|
196
193
|
});
|