Inspired by #6270, this adds a cra-template-minimal
package which uses the bare minimum file structure necessary to function with React (based on the default cra-template
). Optional files like tests and assets have been removed so more experienced users can have full control over what's included, while making less assumptions about tech stack.
Test Plan
npx create-react-app my-app --template file:packages/cra-template-minimal
-
start
displaysReact App
without errors or warnings -
build
succeeds and server displaysReact App
without errors or warnings -
test
shows no tests, and errors in CI as per Jest's defaults