[skip ci] plugin guard
This commit is contained in:
1 parent
c0dce836cf
commit
35b38c7cd8
17 files changed
+97
-15
No files matched your search
@@ -16,6 +16,7 @@ import {
|
||||
isBrsFile
|
||||
} from "brighterscript";
|
||||
import { RawCodeStatement } from "./Classes/RawCodeStatement";
|
||||
import { exitOnCriticalErrors } from './critical-exit';
|
||||
|
||||
const annotationNames = ['all', 'get', 'post', 'put', 'delete', 'patch', 'head', 'options'];
|
||||
const httpRouterBaseClass = 'HttpRouter';
|
||||
@@ -155,5 +156,5 @@ export class WebServerPlugin implements CompilerPlugin {
|
||||
}
|
||||
|
||||
export default () => {
|
||||
return new WebServerPlugin();
|
||||
return exitOnCriticalErrors(new WebServerPlugin());
|
||||
};
|
||||
Reference in new issue
Block a user