mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-15 20:34:44 +00:00
print details of webpack errors - fixes #403
This commit is contained in:
@@ -28,8 +28,7 @@ export class WebpackCompiler {
|
|||||||
const result = new WebpackResult(stats);
|
const result = new WebpackResult(stats);
|
||||||
|
|
||||||
if (result.errors.length) {
|
if (result.errors.length) {
|
||||||
// TODO print errors
|
console.error(stats.toString({ colors: true }));
|
||||||
// console.error(stats.toString({ colors: true }));
|
|
||||||
reject(new Error(`Encountered errors while building app`));
|
reject(new Error(`Encountered errors while building app`));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user