DEV Community

Discussion on: CREATE LIBRARY OF REACT COMPONENT

Collapse
 
mmnoo profile image
Melissa Nunes

OK, it looks like for this error, my when I copy pasted the above config into .babelrc I didnt notice, nor did my IDE, that the double quotes were not kosher. Once I fixed the double quotes it complained :

Options {"absoluteRuntime":false} passed to <path>/node_modules/babel-preset-react-app/index.js which does not accept options.

So I removed those options and it seems to work without errors (at least so far...)