@aziontech/opennextjs-azion
Version:
Azion builder for next apps
9 lines (8 loc) • 362 B
TypeScript
/**
* 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 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<void>;