@shopify/react-server
Version:
Utilities for React server-side rendering
14 lines • 490 B
TypeScript
import type { Compiler } from 'webpack';
import type { Options } from './shared';
/**
* A webpack plugin that generates default server and client entrypoints if none are present.
* @param config
* @returns a customized webpack plugin
*/
export declare class ReactServerPlugin {
private options;
constructor({ host, port, assetPrefix, basePath, proxy, }?: Partial<Options>);
apply(compiler: Compiler): void;
private modules;
}
//# sourceMappingURL=webpack-plugin.d.ts.map