You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 thepackage.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.
The text was updated successfully, but these errors were encountered: