UNPKG

550 BTypeScriptView Raw
1import { SupportedFrameworks } from '../project_types';
2interface ConfigureMainOptions {
3 addons: string[];
4 extensions?: string[];
5 commonJs?: boolean;
6 /**
7 * Extra values for main.js
8 *
9 * In order to provide non-serializable data like functions, you can use
10 * { value: '%%yourFunctionCall()%%' }
11 *
12 * '%% and %%' will be replace.
13 *
14 */
15 [key: string]: any;
16}
17export declare function configure(framework: SupportedFrameworks, mainOptions: ConfigureMainOptions): void;
18export {};