UNPKG

706 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { RawSourceMap } from 'source-map';
9export declare const buildOptimizerLoaderPath: string;
10export default function buildOptimizerLoader(this: {
11 resourcePath: string;
12 _module: {
13 factoryMeta: {
14 skipBuildOptimizer?: boolean;
15 sideEffectFree?: boolean;
16 };
17 };
18 cacheable(): void;
19 callback(error?: Error | null, content?: string, sourceMap?: unknown): void;
20 getOptions(): unknown;
21}, content: string, previousSourceMap: RawSourceMap): void;