UNPKG

@nx/gatsby

Version:

Gatsby Plugin for Nx

9 lines (8 loc) 384 B
import { Tree } from '@nx/devkit'; /** * For gatsby app, replace gatsby-image with gatsby-plugin-image. * It updates the package names in package.json. * It uses gatsby-codemods to update imports. * It also add gatsby-plugin-image to project app's package.json and gatsby-config.js. */ export default function update(tree: Tree): Promise<import("@nx/devkit").GeneratorCallback>;