File size: 1,170 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export interface PluginOptions {
    /**
     * The name of this plugin class. Defaults to this.constructor.name.
     */
    name?: string;
    /**
     * A descriptive annotation. Useful for debugging, to tell multiple instances of the same plugin apart.
     */
    annotation?: string;
    /**
     * If true, the output directory is not automatically emptied between builds.
     */
    persistentOutput?: boolean;
    /**
     * If true, a cache directory is created automatically and the path is set at cachePath.
     * If false, a cache directory is not created and this.cachePath is undefined. Defaults to true
     */
    needsCache?: boolean;
    /**
     * If true, memoization will not be applied and the build method will always be called regardless if the inputNodes have changed. Defaults to false.
     */
    volatile?: boolean;
    /**
     * If true, a change object will be passed to the build method which contains
     * information about which input has changed since the last build. Defaults to false.
     */
    trackInputChanges?: boolean;
}
export declare type MapSeriesIterator<T> = (item: T, index: number, array: T[]) => Promise<T> | T;