source: trip-planner-front/node_modules/@angular-devkit/build-optimizer/src/index.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.8 KB
Line 
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 */
9var __importDefault = (this && this.__importDefault) || function (mod) {
10 return (mod && mod.__esModule) ? mod : { "default": mod };
11};
12Object.defineProperty(exports, "__esModule", { value: true });
13exports.getScrubFileTransformerForCore = exports.getScrubFileTransformer = exports.getWrapEnumsTransformer = exports.getPrefixFunctionsTransformer = exports.getPrefixClassesTransformer = exports.transformJavascript = exports.buildOptimizer = exports.BuildOptimizerWebpackPlugin = exports.buildOptimizerLoaderPath = exports.buildOptimizerLoader = void 0;
14const scrub_file_1 = require("./transforms/scrub-file");
15var webpack_loader_1 = require("./build-optimizer/webpack-loader");
16Object.defineProperty(exports, "buildOptimizerLoader", { enumerable: true, get: function () { return __importDefault(webpack_loader_1).default; } });
17Object.defineProperty(exports, "buildOptimizerLoaderPath", { enumerable: true, get: function () { return webpack_loader_1.buildOptimizerLoaderPath; } });
18var webpack_plugin_1 = require("./build-optimizer/webpack-plugin");
19Object.defineProperty(exports, "BuildOptimizerWebpackPlugin", { enumerable: true, get: function () { return webpack_plugin_1.BuildOptimizerWebpackPlugin; } });
20var build_optimizer_1 = require("./build-optimizer/build-optimizer");
21Object.defineProperty(exports, "buildOptimizer", { enumerable: true, get: function () { return build_optimizer_1.buildOptimizer; } });
22var transform_javascript_1 = require("./helpers/transform-javascript");
23Object.defineProperty(exports, "transformJavascript", { enumerable: true, get: function () { return transform_javascript_1.transformJavascript; } });
24var prefix_classes_1 = require("./transforms/prefix-classes");
25Object.defineProperty(exports, "getPrefixClassesTransformer", { enumerable: true, get: function () { return prefix_classes_1.getPrefixClassesTransformer; } });
26var prefix_functions_1 = require("./transforms/prefix-functions");
27Object.defineProperty(exports, "getPrefixFunctionsTransformer", { enumerable: true, get: function () { return prefix_functions_1.getPrefixFunctionsTransformer; } });
28var wrap_enums_1 = require("./transforms/wrap-enums");
29Object.defineProperty(exports, "getWrapEnumsTransformer", { enumerable: true, get: function () { return wrap_enums_1.getWrapEnumsTransformer; } });
30function getScrubFileTransformer(program) {
31 return scrub_file_1.createScrubFileTransformerFactory(false)(program);
32}
33exports.getScrubFileTransformer = getScrubFileTransformer;
34function getScrubFileTransformerForCore(program) {
35 return scrub_file_1.createScrubFileTransformerFactory(true)(program);
36}
37exports.getScrubFileTransformerForCore = getScrubFileTransformerForCore;
Note: See TracBrowser for help on using the repository browser.