[skip ci] plugin guard
This commit is contained in:
1 parent
c0dce836cf
commit
35b38c7cd8
17 files changed
+97
-15
No files matched your search
@@ -13,6 +13,7 @@ import { SGChildren, SGComponent, SGInterface, SGScript } from 'brighterscript/d
|
||||
import { globSync } from 'glob';
|
||||
import fs from 'fs-extra'
|
||||
import path from 'path';
|
||||
import { exitOnCriticalErrors } from './critical-exit';
|
||||
|
||||
export class ComponentIncludesPlugin implements CompilerPlugin {
|
||||
public name = 'ComponentIncludesPlugin';
|
||||
@@ -160,5 +161,5 @@ export class ComponentIncludesPlugin implements CompilerPlugin {
|
||||
}
|
||||
|
||||
export default () => {
|
||||
return new ComponentIncludesPlugin();
|
||||
return exitOnCriticalErrors(new ComponentIncludesPlugin());
|
||||
};
|
||||
Reference in new issue
Block a user