|
|
|
@ -133,7 +133,7 @@ export class Compiler { |
|
|
|
|
|
|
|
|
|
const checkIfFatalError = (error: CompilationError) => { |
|
|
|
|
// Ignore warnings and the 'Deferred import' error as those are generated by us as a workaround
|
|
|
|
|
const isValidError = (error.message && error.message.includes('Deferred import')) ? false : error.severity !== 'warning' |
|
|
|
|
const isValidError = (error.message && error.message=== 'Deferred import') ? false : error.severity !== 'warning' |
|
|
|
|
if(isValidError) noFatalErrors = false |
|
|
|
|
} |
|
|
|
|
if (data.error) checkIfFatalError(data.error) |
|
|
|
|