UNPKG

@nx/angular

Version:

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypre

11 lines (10 loc) 400 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.importNgPackagrPath = importNgPackagrPath; function importNgPackagrPath(path, ngPackagrMajorVersion) { let finalPath = path; if (ngPackagrMajorVersion < 20 && path.startsWith('ng-packagr/src/')) { finalPath = path.replace(/^ng-packagr\/src\//, 'ng-packagr/'); } return require(finalPath); }