UNPKG

637 BTypeScriptView Raw
1/**
2 * An output target configuration interface used to configure Stencil to properly generate the bindings necessary to use
3 * Stencil components in a React application
4 */
5export interface OutputTargetReact {
6 componentCorePackage?: string;
7 proxiesFile: string;
8 excludeComponents?: string[];
9 loaderDir?: string;
10 includePolyfills?: boolean;
11 includeDefineCustomElements?: boolean;
12 includeImportCustomElements?: boolean;
13 customElementsDir?: string;
14}
15/**
16 * Describes the fields of a package.json file necessary to generate the Stencil-React bindings
17 */
18export interface PackageJSON {
19 types: string;
20}