UNPKG

@nx/next

Version:

The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides: - Scaffolding for creating, building, serving, linting, and testing Next.js applications. - Integration wit

15 lines (14 loc) 748 B
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[];