@nx/next
Version:
23 lines (22 loc) • 912 B
TypeScript
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>;