UNPKG

@aziontech/opennextjs-azion

Version:
11 lines (10 loc) 493 B
/** * Creates a `open-next.config.ts` file for the user if it doesn't exist, but only after asking for the user's confirmation. * * If OPEN_NEXTJS_NO_INTERACTIVE_PROMPT environment variable is set to 'true', automatically creates the file without asking. * * If the user refuses an error is thrown (since the file is mandatory). * * @param sourceDir The source directory for the project */ export declare function createOpenNextConfigIfNotExistent(sourceDir: string): Promise<string>;