@stencil/react-output-target
Version:
React output target for @stencil/core components.
21 lines (20 loc) • 637 B
TypeScript
/**
* An output target configuration interface used to configure Stencil to properly generate the bindings necessary to use
* Stencil components in a React application
*/
export interface OutputTargetReact {
componentCorePackage?: string;
proxiesFile: string;
excludeComponents?: string[];
loaderDir?: string;
includePolyfills?: boolean;
includeDefineCustomElements?: boolean;
includeImportCustomElements?: boolean;
customElementsDir?: string;
}
/**
* Describes the fields of a package.json file necessary to generate the Stencil-React bindings
*/
export interface PackageJSON {
types: string;
}