-
Notifications
You must be signed in to change notification settings - Fork 48
Description
The new version of create-react-app
no longer uses a .babelrc file in the root of the project, with the configuration instead existing in the package.json
. This lead to confusion when spinning up a new project. The new version of CRA also has a more robust linting configuration, and will not compile without further modification.
I went ahead and created a working version of an ejected CRA, available here https://github.com/SydBal/cra-ejected-pug which demonstrates the modifications I needed to make in order to get the integration working. (spinning off of this stack overflow answer https://stackoverflow.com/questions/56513346/how-to-use-pug-templating-engine-with-reactjs/62051614#62051614)
The README should be updated to reflect the new setup.