UNPKG

sc-prepare-next

Version:
10 lines 608 B
/** * Prepares the Next.js application for rendering. * * @param {any} directories - The directories containing the Next.js application. Can be a string or an object with production and development properties. * @param {any} port - The port number to run the development server on. Defaults to PORT if not provided. * @throws {Error} If the renderer location is not defined. * @return {Promise<void>} A Promise that resolves when the Next.js application is prepared for rendering. */ export declare const prepareNext: (directories: any, port: any) => Promise<void>; //# sourceMappingURL=index.d.ts.map