Open tanaypratap opened 7 years ago
I'm facing the same issue right now... :'(
Indeed the Readme says
Babel and Linting Both Node server and frontend code runs with Babel. And all ...
But the server doesn't seem to be transpiled as well. Maybe the author (@christianalfoni) changed the direction of the project at some point.
I would love to give it a try and setup server side transpilation again.
The server.js file is plain old JS and doesn't support ES6 code while this is needed for writing code in current JS standards. I need this very much because I want to server side rendering and to run react on server side we would need JSX and other compilers working for server.js as well. Can we configure webpack to use es6 loaders for server side code as well?