Replies: 4 comments 5 replies
-
There is not an option, but this has been requested before. Would love to see a PR to add support to customize via a new option: Otherwise, you can add |
Beta Was this translation helpful? Give feedback.
-
I was bothered by this issue too, so I made a script to convert all my |
Beta Was this translation helpful? Give feedback.
-
For now, we'll most likely keep this requirement of JSX in |
Beta Was this translation helpful? Give feedback.
-
The error messaging in the cli threw me off for a day on this topic. Trying snowpack for the first time, I kept assuming it was a config issue (which is typical with webpack). Output in terminal was just:
Drove me nuts! I eventually figured it out and then I found the Note: in docs about this but that warning wasn't easy to find following the "Get Started" happy-path. Anyway, just sharing my experience incase it helps organizing docs or error messages—I'm curious how easy it's going to be to just replace a 5yr-old react + webpack code base with this—at least for development 🤞 Our code is not using |
Beta Was this translation helpful? Give feedback.
-
Is there an option to refer .js files also as .jsx files?
I've worked with webpack so far and my jsx files had a postfix of .js and not of jsx.
Beta Was this translation helpful? Give feedback.
All reactions