Skip to content
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

Getting syntax error in webpack #2

Open
jchoi2x opened this issue May 10, 2016 · 1 comment
Open

Getting syntax error in webpack #2

jchoi2x opened this issue May 10, 2016 · 1 comment

Comments

@jchoi2x
Copy link

jchoi2x commented May 10, 2016

image

This occurred from from executing require('react-timesheet'). I got it to work by pasting src/Timesheet.js into babel repl and overwriting it.

@oliyoung
Copy link

oliyoung commented Apr 6, 2017

It's not pre-processing the JSX in the file (that's where it's failing) probably because of file extension, running it through the REPL just spits out pure JS (ie <div> -> React.createElement('div

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants