UNPKG

@angular/compiler-cli

Version:
40 lines (36 loc) 1.13 kB
#!/usr/bin/env node import {createRequire as __cjsCompatRequire} from 'module'; const require = __cjsCompatRequire(import.meta.url); import { main } from "../../chunk-NNCRCOQI.js"; import "../../chunk-GGYBKDGO.js"; import "../../chunk-ISOL2WT5.js"; import "../../chunk-X2KDZPBI.js"; import "../../chunk-XRSJELB6.js"; import "../../chunk-Q2WE7ECN.js"; import { NodeJSFileSystem, setFileSystem } from "../../chunk-37JMVF7H.js"; import "../../chunk-KPQ72R34.js"; // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs import "reflect-metadata"; async function runNgcComamnd() { process.title = "Angular Compiler (ngc)"; const args = process.argv.slice(2); setFileSystem(new NodeJSFileSystem()); process.exitCode = main(args, void 0, void 0, void 0, void 0, void 0); } runNgcComamnd().catch((e) => { console.error(e); process.exitCode = 1; }); /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ //# sourceMappingURL=ngc.js.map