mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +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);
|
||||
|
||||
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`));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user