@nx/next
Version:
15 lines • 801 B
TypeScript
import type { ExecutorContext } from '@nx/devkit';
import type { NextBuildBuilderOptions } from '../../../utils/types';
export declare function createNextConfigFile(options: NextBuildBuilderOptions, context: ExecutorContext): void;
export declare function getWithNxContent({ file, content }?: {
file: string;
content: string;
}): string;
export declare function findNextConfigPath(dirname: string, userDefinedConfigPath?: string): string;
export declare function getRelativeFilesToCopy(fileName: string, cwd: string): string[];
export declare function getRelativeImports({ file, content, }: {
file: string;
content: string;
}): string[];
export declare function ensureFileExtensions(files: string[], absoluteDir: string): string[];
//# sourceMappingURL=create-next-config-file.d.ts.map