Closed ghost closed 7 years ago
Thanks for putting this up — I'll add a note to the post. Out of curiosity, did you try Babel's React preset? That could avoid the JSX stuff, which would make the setup even simpler.
I have tried, but it doesn't seem to work out of the box, I'll give it another try and make another commit with the result and let you know what happens.
@wesleycoder how would you feel about sending this in as a pull request? I'll put it on another branch and link to it from the README as a variation on the initial repo. I have #5 open right now to add an Express server, so we'd have two setup variations to start.
Sure, I'll send the PR soon.
May I send the PR to the master
branch or will you create another branch in which I'll send the PR?
It is ready to send.
@wesleycoder I just created a branch called alt-config/react. Can you send the PR against that one?
Thanks!
I've struggled trying to make react work with rollup. If you find it useful, here is how I solved it.
It would be useful for others if you put a tip at the end of your post. Or you could push it in a branch here for reference.