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

44 lines (37 loc) 654 B
#### Replace `classProperties.loose` option in `.babelrc` The `classProperties.loose` option is replaced by `loose` in `.babelrc` files. #### Sample Code Changes ##### Before ```json title=".babelrc" { "presets": [ [ "@nx/react/babel", { "runtime": "automatic", "classProperties": { "loose": true }, "useBuiltIns": "usage" } ] ], "plugins": [] } ``` ##### After ```json title=".babelrc" {7} { "presets": [ [ "@nx/react/babel", { "runtime": "automatic", "loose": true, "useBuiltIns": "usage" } ] ], "plugins": [] } ```