@revolist/svelte-output-target
Version:
Svelte output target for @stencil/core components.
19 lines (18 loc) • 827 B
TypeScript
import type { CompilerCtx, ComponentCompilerMeta, Config } from '@stencil/core/internal';
import { OutputTargetSvelte } from './types';
export declare const getPathToCorePackageLoader: (config: Config, outputTarget: OutputTargetSvelte) => string;
export declare function generateProxies(config: Config, components: ComponentCompilerMeta[], outputTarget: OutputTargetSvelte): {
entry: string;
uncompiledEntry: string;
uncompiledFiles: {
name: string;
meta: ComponentCompilerMeta;
content: string;
}[];
compiledFiles: {
name: string;
meta: ComponentCompilerMeta;
content: any;
}[];
};
export declare const svelteProxyOutput: (config: Config, compilerCtx: CompilerCtx, outputTarget: OutputTargetSvelte, components: ComponentCompilerMeta[]) => Promise<void>;