Files
Alan Agius cf1844bcce refactor(devtools): use JavaScriptTransformer for Angular optimization esbuild plugin
Refactor the devtools optimization esbuild plugin to use JavaScriptTransformer from @angular/build/private.
2026-08-07 10:30:52 -07:00

16 lines
424 B
TypeScript

/**
* @license
* Copyright Google LLC
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export interface OptimizationOptions {
optimize?: {
isSideEffectFree?: (absoluteDiskPath: string) => boolean;
};
enableLinker?: boolean;
}
export function createEsbuildAngularOptimizePlugin(opts: OptimizationOptions): Promise<any>