## API Report File for "@angular-devkit/build-optimizer"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import type { Compiler } from 'webpack';
import { RawSourceMap } from 'source-map';
import * as ts from 'typescript';

// @public (undocumented)
export function buildOptimizer(options: BuildOptimizerOptions): TransformJavascriptOutput;

// @public (undocumented)
export function buildOptimizerLoader(this: {
    resourcePath: string;
    _module: {
        factoryMeta: {
            skipBuildOptimizer?: boolean;
            sideEffectFree?: boolean;
        };
    };
    cacheable(): void;
    callback(error?: Error | null, content?: string, sourceMap?: unknown): void;
    getOptions(): unknown;
}, content: string, previousSourceMap: RawSourceMap): void;

// @public (undocumented)
export const buildOptimizerLoaderPath: string;

// @public (undocumented)
export class BuildOptimizerWebpackPlugin {
    // (undocumented)
    apply(compiler: Compiler): void;
}

// @public (undocumented)
export function getPrefixClassesTransformer(): ts.TransformerFactory<ts.SourceFile>;

// @public (undocumented)
export function getPrefixFunctionsTransformer(): ts.TransformerFactory<ts.SourceFile>;

// @public (undocumented)
export function getScrubFileTransformer(program?: ts.Program): ts.TransformerFactory<ts.SourceFile>;

// @public (undocumented)
export function getScrubFileTransformerForCore(program?: ts.Program): ts.TransformerFactory<ts.SourceFile>;

// @public (undocumented)
export function getWrapEnumsTransformer(): ts.TransformerFactory<ts.SourceFile>;

// @public (undocumented)
export function transformJavascript(options: TransformJavascriptOptions): TransformJavascriptOutput;

// (No @packageDocumentation comment for this package)

```
