NeahNew/node_modules/next/dist/cli/next-start.d.ts
2025-05-03 14:17:46 +02:00

18 lines
471 B
JavaScript

#!/usr/bin/env node
import '../server/lib/cpu-profile';
export type NextStartOptions = {
port: number;
hostname?: string;
keepAliveTimeout?: number;
turbo?: boolean;
turbopack?: 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 };