Getting syntax error in webpack
kizzlebot opened this issue · comments
This occurred from from executing require('react-timesheet')
. I got it to work by pasting src/Timesheet.js
into babel repl and overwriting it.
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