UNPKG

react-torch

Version:

A lib to server-side render with react.

12 lines (11 loc) 431 B
import type Webpack from 'webpack'; import type { Urls } from '../../internal/utils/prepareUrls'; import type { Configuration } from 'webpack'; export declare type CreateCompilerProps = { appName: string; config: Configuration; urls: Urls; useYarn: boolean; webpack: typeof Webpack; }; export default function createCompiler({ appName, config, urls, useYarn, webpack, }: CreateCompilerProps): Webpack.Compiler;