swico 1.3.2 → 1.3.3-beta.1
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 +2 -0
package/package.json
CHANGED
package/src/command/start.js
CHANGED
|
@@ -176,10 +176,12 @@ 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);
|
|
179
180
|
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); }); }));
|
|
180
181
|
return;
|
|
181
182
|
}
|
|
182
183
|
if (stats === null || stats === void 0 ? void 0 : stats.hasWarnings()) {
|
|
184
|
+
console.log('2', info);
|
|
183
185
|
var warnings = info.warnings;
|
|
184
186
|
warnings.some(function (item) {
|
|
185
187
|
var msg = item.message || item.stack;
|