1 | "use strict";
|
---|
2 | /**
|
---|
3 | * @license
|
---|
4 | * Copyright Google LLC All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
7 | * found in the LICENSE file at https://angular.io/license
|
---|
8 | */
|
---|
9 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
---|
10 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
---|
11 | };
|
---|
12 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
13 | exports.getScrubFileTransformerForCore = exports.getScrubFileTransformer = exports.getWrapEnumsTransformer = exports.getPrefixFunctionsTransformer = exports.getPrefixClassesTransformer = exports.transformJavascript = exports.buildOptimizer = exports.BuildOptimizerWebpackPlugin = exports.buildOptimizerLoaderPath = exports.buildOptimizerLoader = void 0;
|
---|
14 | const scrub_file_1 = require("./transforms/scrub-file");
|
---|
15 | var webpack_loader_1 = require("./build-optimizer/webpack-loader");
|
---|
16 | Object.defineProperty(exports, "buildOptimizerLoader", { enumerable: true, get: function () { return __importDefault(webpack_loader_1).default; } });
|
---|
17 | Object.defineProperty(exports, "buildOptimizerLoaderPath", { enumerable: true, get: function () { return webpack_loader_1.buildOptimizerLoaderPath; } });
|
---|
18 | var webpack_plugin_1 = require("./build-optimizer/webpack-plugin");
|
---|
19 | Object.defineProperty(exports, "BuildOptimizerWebpackPlugin", { enumerable: true, get: function () { return webpack_plugin_1.BuildOptimizerWebpackPlugin; } });
|
---|
20 | var build_optimizer_1 = require("./build-optimizer/build-optimizer");
|
---|
21 | Object.defineProperty(exports, "buildOptimizer", { enumerable: true, get: function () { return build_optimizer_1.buildOptimizer; } });
|
---|
22 | var transform_javascript_1 = require("./helpers/transform-javascript");
|
---|
23 | Object.defineProperty(exports, "transformJavascript", { enumerable: true, get: function () { return transform_javascript_1.transformJavascript; } });
|
---|
24 | var prefix_classes_1 = require("./transforms/prefix-classes");
|
---|
25 | Object.defineProperty(exports, "getPrefixClassesTransformer", { enumerable: true, get: function () { return prefix_classes_1.getPrefixClassesTransformer; } });
|
---|
26 | var prefix_functions_1 = require("./transforms/prefix-functions");
|
---|
27 | Object.defineProperty(exports, "getPrefixFunctionsTransformer", { enumerable: true, get: function () { return prefix_functions_1.getPrefixFunctionsTransformer; } });
|
---|
28 | var wrap_enums_1 = require("./transforms/wrap-enums");
|
---|
29 | Object.defineProperty(exports, "getWrapEnumsTransformer", { enumerable: true, get: function () { return wrap_enums_1.getWrapEnumsTransformer; } });
|
---|
30 | function getScrubFileTransformer(program) {
|
---|
31 | return scrub_file_1.createScrubFileTransformerFactory(false)(program);
|
---|
32 | }
|
---|
33 | exports.getScrubFileTransformer = getScrubFileTransformer;
|
---|
34 | function getScrubFileTransformerForCore(program) {
|
---|
35 | return scrub_file_1.createScrubFileTransformerFactory(true)(program);
|
---|
36 | }
|
---|
37 | exports.getScrubFileTransformerForCore = getScrubFileTransformerForCore;
|
---|