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

23 lines (22 loc) 912 B
import { CreateDependencies, CreateNodes, CreateNodesV2 } from '@nx/devkit'; export interface NextPluginOptions { buildTargetName?: string; devTargetName?: string; startTargetName?: string; /** * @deprecated Use `startTargetName` instead. */ serveStaticTargetName?: string; buildDepsTargetName?: string; watchDepsTargetName?: string; } /** * @deprecated The 'createDependencies' function is now a no-op. This functionality is included in 'createNodesV2'. */ export declare const createDependencies: CreateDependencies; export declare const createNodesV2: CreateNodesV2<NextPluginOptions>; /** * @deprecated This is replaced with {@link createNodesV2}. Update your plugin to export its own `createNodesV2` function that wraps this one instead. * This function will change to the v2 function in Nx 21. */ export declare const createNodes: CreateNodes<NextPluginOptions>;