UNPKG

@nx/remix

Version:

The Remix plugin for Nx contains executors and generators for managing Remix applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Vitest, Jest, Playwright, Cypress, and Storybook. - Generators for applica

14 lines (13 loc) 467 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.normalizeOptions = normalizeOptions; async function normalizeOptions(tree, schema) { const pathToRouteFile = schema.path; if (!tree.exists(pathToRouteFile)) { throw new Error(`Route file specified does not exist "${pathToRouteFile}". Please ensure you pass a correct path to the file.`); } return { ...schema, path: pathToRouteFile, }; }