sarsamurmu / reboost

A super fast dev server for rapid web development
MIT License
61 stars 3 forks source link

rename 'index.js' to 'index.jsx' in the reboost config file of the re… #53

Closed suren-atoyan closed 3 years ago

suren-atoyan commented 3 years ago

I come across with reboost by trying to solve this issue.

The starter app generated by npm init @reboost/app (react template) didn't run (npm run dev); the error was:

Screen Shot 2021-01-13 at 17 46 48

It's sensible, because, actually there is no root/src/index.js file:

Screen Shot 2021-01-13 at 17 47 28

It should be root/src/index.jsx:

Screen Shot 2021-01-13 at 17 50 07

I did the fix in the reboost/packages/create-app/templates/react/reboost.js file (hope it's the right place for that).

sarsamurmu commented 3 years ago

Thanks for the fix :D