UNPKG

@nx/react

Version:

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

25 lines (24 loc) 682 B
interface NxReactBabelOptions { decorators?: { decoratorsBeforeExport?: boolean; legacy?: boolean; }; development?: boolean; importSource?: string; loose?: boolean; reactCompiler?: boolean | { compilationMode?: string; sources?: (filename: string) => boolean; }; runtime?: string; useBuiltIns?: boolean | string; /** @deprecated Use `loose` option instead of `classProperties.loose` */ classProperties?: { loose?: boolean; }; } declare function getReactPresetOptions({ presetOptions, env, }: { env: string; presetOptions: NxReactBabelOptions; }): Record<string, string | boolean>;