Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
732 bytes
|
Rev | Line | |
---|
[6a3a178] | 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 { Compilation, Compiler } from 'webpack';
|
---|
| 9 | export interface ScriptsWebpackPluginOptions {
|
---|
| 10 | name: string;
|
---|
| 11 | sourceMap?: boolean;
|
---|
| 12 | scripts: string[];
|
---|
| 13 | filename: string;
|
---|
| 14 | basePath: string;
|
---|
| 15 | }
|
---|
| 16 | export declare class ScriptsWebpackPlugin {
|
---|
| 17 | private options;
|
---|
| 18 | private _lastBuildTime?;
|
---|
| 19 | private _cachedOutput?;
|
---|
| 20 | constructor(options: ScriptsWebpackPluginOptions);
|
---|
| 21 | shouldSkip(compilation: Compilation, scripts: string[]): Promise<boolean>;
|
---|
| 22 | private _insertOutput;
|
---|
| 23 | apply(compiler: Compiler): void;
|
---|
| 24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.