@shopify/react-server
Version:
Utilities for React server-side rendering
16 lines • 528 B
TypeScript
import type { Compiler } from 'webpack';
export interface Options {
basePath: string;
assetPrefix?: string;
host?: string;
port?: number;
proxy?: boolean;
}
export declare enum Entrypoint {
Client = "client",
Server = "server",
Error = "error"
}
export declare const HEADER = "\n // Generated by @shopify/react-server/webpack-plugin\n";
export declare function noSourceExists(entry: Entrypoint, options: Options, { options: { context } }: Compiler): boolean;
//# sourceMappingURL=shared.d.ts.map