@angular/compiler-cli
Version:
Angular - the compiler CLI for Node.js
37 lines (33 loc) • 1 kB
JavaScript
import {createRequire as __cjsCompatRequire} from 'module';
const require = __cjsCompatRequire(import.meta.url);
import {
angularJitApplicationTransform
} from "../chunk-PUEBQK4X.js";
import "../chunk-LS5RJ5CS.js";
import "../chunk-JEXAXD23.js";
import "../chunk-XYYEESKY.js";
import "../chunk-G7GFT6BU.js";
// packages/compiler-cli/private/tooling.ts
var GLOBAL_DEFS_FOR_TERSER = {
ngDevMode: false,
ngI18nClosureMode: false
};
var GLOBAL_DEFS_FOR_TERSER_WITH_AOT = {
...GLOBAL_DEFS_FOR_TERSER,
ngJitMode: false
};
var constructorParametersDownlevelTransform = (program, isCore = false) => {
return angularJitApplicationTransform(program, isCore);
};
export {
GLOBAL_DEFS_FOR_TERSER,
GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
constructorParametersDownlevelTransform
};
/**
* @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
*/