@stencil/react-output-target
Version:
React output target for @stencil/core components.
14 lines (13 loc) • 623 B
TypeScript
import type { ComponentCompilerMeta } from '@stencil/core/internal';
import { Project, SourceFile } from 'ts-morph';
export declare const createComponentWrappers: ({ stencilPackageName, components, outDir, customElementsDir, esModules, excludeComponents, project, hydrateModule, excludeServerSideRenderingFor, }: {
stencilPackageName: string;
components: ComponentCompilerMeta[];
customElementsDir: string;
outDir: string;
esModules?: boolean;
excludeComponents?: string[];
project: Project;
hydrateModule?: string;
excludeServerSideRenderingFor?: string[];
}) => Promise<SourceFile[]>;