[6a3a178] | 1 | (function (factory) {
|
---|
| 2 | if (typeof module === "object" && typeof module.exports === "object") {
|
---|
| 3 | var v = factory(require, exports);
|
---|
| 4 | if (v !== undefined) module.exports = v;
|
---|
| 5 | }
|
---|
| 6 | else if (typeof define === "function" && define.amd) {
|
---|
| 7 | define("@angular/compiler-cli/ngcc", ["require", "exports", "@angular/compiler-cli/src/ngtsc/file_system", "@angular/compiler-cli/ngcc/src/main", "@angular/compiler-cli/src/ngtsc/logging", "@angular/compiler-cli/ngcc/src/ngcc_options"], factory);
|
---|
| 8 | }
|
---|
| 9 | })(function (require, exports) {
|
---|
| 10 | "use strict";
|
---|
| 11 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 12 | exports.process = exports.clearTsConfigCache = exports.LogLevel = exports.ConsoleLogger = void 0;
|
---|
| 13 | /**
|
---|
| 14 | * @license
|
---|
| 15 | * Copyright Google LLC All Rights Reserved.
|
---|
| 16 | *
|
---|
| 17 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 18 | * found in the LICENSE file at https://angular.io/license
|
---|
| 19 | */
|
---|
| 20 | var file_system_1 = require("@angular/compiler-cli/src/ngtsc/file_system");
|
---|
| 21 | var main_1 = require("@angular/compiler-cli/ngcc/src/main");
|
---|
| 22 | var logging_1 = require("@angular/compiler-cli/src/ngtsc/logging");
|
---|
| 23 | Object.defineProperty(exports, "ConsoleLogger", { enumerable: true, get: function () { return logging_1.ConsoleLogger; } });
|
---|
| 24 | Object.defineProperty(exports, "LogLevel", { enumerable: true, get: function () { return logging_1.LogLevel; } });
|
---|
| 25 | var ngcc_options_1 = require("@angular/compiler-cli/ngcc/src/ngcc_options");
|
---|
| 26 | Object.defineProperty(exports, "clearTsConfigCache", { enumerable: true, get: function () { return ngcc_options_1.clearTsConfigCache; } });
|
---|
| 27 | function process(options) {
|
---|
| 28 | file_system_1.setFileSystem(new file_system_1.NodeJSFileSystem());
|
---|
| 29 | return main_1.mainNgcc(options);
|
---|
| 30 | }
|
---|
|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