-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files outside src/ aren't compiled with Babel #1699
Comments
Also, Went through #1194 thread. NODE_PATH is not set to anything |
C+P: This behavior will most likely be disallowed in 0.10. |
Oh wow! Thanks for catching that. I moved that folder to src and it compiles successfully! |
I will reopen so that we don't forget to completely forbid importing them somehow. |
We have this old issue too: #1234 |
Oh okay. |
guys, any workaround for now? |
Workaround for what exactly? Files outside |
Thanks for quick reply @gaearon |
Replied there. |
Problem: Using ES6 feature like template string or fat arrow function notation, in any helper JS functions to fetch data and pass it to React components, npm start works fine but npm run build fails
Error:-
node - 6.10.0
npm - 3.10.10
OS - MacOS El Capitan
react-scripts: 0.9.3
The text was updated successfully, but these errors were encountered: