Welcome to the Create React App community!
We're creating this community on Spectrum as a place to get help with Create React App and discuss ideas and plans for the future. We'll still use GitHub issues and PRs to report bugs and track development of new features. This kind of community forum is new for Create React App…
Hey all - WSL2 yarn start very slow
Not sure if anyone has experience using create-react-app in WSL2, but my yarn start command is running awfully slow. Does anyone have any suggestions that may help? I've gone ahead and created another test app and found similar results. My computer specs: intel i7-8650U 2.11…
Running Cypress with `npm test` sets NODE_ENV to development
Hi guys, I was about to create a issue but I'm sure this is more of a misunderstanding from my part so here goes: I set up Cypress to run e2e tests on my application, which I run with npm test (cypress open --config-file cypress/cypress.json). My problem is that the CRA docs say…
SyntaxError: Unexpected identifier when running jest tests
I have a create-react-app project with TypeScript. I recently added the package material-ui-dropzone to my project, and suddenly all my tests are failing because of a SyntaxError in a file I haven't really touched. I've seen other people having problems with es6 imports and…
How to emulate CRA's bundling of SVG?
I keep my code in a monorepo and some components are held outside of the CRA packages so I can reuse them. I have a custom babel configuration which transpiles the ^es6 code. The problem I have is that inline-react-svg doesn't work exactly the same as create-react-app. That is,…
Hey all- I was hoping to get some help re: --scripts-version
I maintain a fork of CRA and it seems as though the new template work prevents projects initiated with the --scripts-version flag from importing even the default template. Could someone point me to the right place to remedy that? In looking through the template commit…
How does hot module replacement work in Create React App?
I was perusing the codebase, and I couldn't find react-hot-loader anywhere. I'm trying to emulate my custom Webpack config to work similar to Create React App to hopefully one day transition to CRA after fixing the compability issues. Would this be the file?…
Non-relative SCSS imports
I'm having an issue with react-scripts: 3.1.2 and non-relative imports inside SCSS files. I have a really deep directory strucrture but I can't import using @import "styles/layout"; rule. I've set REACT_APP_SASS_PATH=src and it still doesn't work. styles directory is directly…