lingjing/node_modules/next/dist/cli/next-start.d.ts
2026-02-23 09:51:43 +00:00

17 lines
473 B
JavaScript

#!/usr/bin/env node
import '../server/lib/cpu-profile';
export type NextStartOptions = {
port: number;
hostname?: string;
keepAliveTimeout?: number;
experimentalNextConfigStripTypes?: boolean;
};
/**
* Start the Next.js server
*
* @param options The options for the start command
* @param directory The directory to start the server in
*/
declare const nextStart: (options: NextStartOptions, directory?: string) => Promise<void>;
export { nextStart };