create-react-app
create-react-app copied to clipboard
Set up a modern web app by running one command.
Added support for alternative tsconfig through TSCONFIG_BUILD env variable. It's intended for using a custom tsconfig in a monorepo setting. ``` TSCONFIG_BUILD=tsconfig.build.json ``` React-scripts doesn't play with path aliases. But...
This seems like a very easy, yet costly mistake to make. Worth linting IMO.
### Describe the bug I'm trying to access the Apis in my local server throug the react app and I got this issue: ``` Invalid options object. Dev Server has...
Currently CRA treats `.cjs` files as `asset/resource` files rather than javascript files. See https://nodejs.org/api/packages.html#determining-module-system for explanation of how the `.cjs` file extension is treated by NodeJS. I wasn't able to...
This PR fixes #11889. The change has been tested against the [code example](https://github.com/facebook/react/files/7814875/react-scripts-5-issue-submodules-codesandbox.zip) provided in the issue: 1. Download the code example 2. Install dependencies 3. Eject 4. Apply the...
### Steps To Reproduce 1. Update to latest react-scripts (5.0.0) 2. Do `npm run build`. ### The current behavior ``` home/node/frontend/node_modules/mini-css-extract-plugin/node_modules/schema-utils/dist/validate.js:66 const ajv = new Ajv({ ^ TypeError: Ajv is...
I have upgraded an application from react 17 to react 18 and now using "react-scripts 5.0.1" . Now npm build throwing error  I would like to know how to...