@platform/react.ssr
Version:
A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.
25 lines (24 loc) • 579 B
TypeScript
import { Config } from '../config';
import { t } from './common';
declare type PayloadType = 'MANIFEST' | 'BUNDLE';
export declare function run(args: {
cli: t.ICmdApp;
type?: PayloadType;
silent?: boolean;
}): Promise<void>;
export declare function bundle(args: {
cli: t.ICmdApp;
config?: Config;
version?: string;
prompt?: boolean;
silent?: boolean;
}): Promise<{
version: string;
bundleDir: string;
}>;
export declare function manifest(args: {
cli: t.ICmdApp;
config?: Config;
silent?: boolean;
}): Promise<void>;
export {};