UNPKG

nx-esbuild-decorators

Version:

The Nx Plugin for esbuild contains executors and generators that support building applications using esbuild and also supports decorators

9 lines (6 loc) 320 B
import { Tree, formatFiles } from '@nx/devkit'; import { replaceNrwlPackageWithNxPackage } from '@nx/devkit/src/utils/replace-package'; export default async function replacePackage(tree: Tree): Promise<void> { await replaceNrwlPackageWithNxPackage(tree, '@nrwl/esbuild', '@nx/esbuild'); await formatFiles(tree); }