[skip ci] plugin guard

This commit is contained in:
Brahim Hadriche committed 2026-06-12 15:12:36 -04:00
1 parent c0dce836cf
commit 35b38c7cd8
17 files changed
+97 -15

No files matched your search

+2 -1
View File
@@ -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());
};