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 | */
|
8 | import { RawSourceMap } from 'source-map';
|
9 | export interface Options {
|
10 | sideEffectFreeModules?: string[];
|
11 | angularCoreModules?: string[];
|
12 | }
|
13 | export default function optimizer(options: Options): {
|
14 | name: string;
|
15 | transform: (content: string, id: string) => {
|
16 | code: string;
|
17 | map: RawSourceMap;
|
18 | } | null;
|
19 | };
|