index.js: Support for the experimental syntax 'jsx' isn't currently enabled (5:17):
3 | import App from './App';
4 | import './index.css';
> 5 | ReactDOM.render(<React.StrictMode>
Sorry, but we can't provide framework/tool specific troubleshooting in this issue tracker. My best guess is that Babel needs a react plugin/preset in your babelrc to work.
Bug Report Quick Checklist
Describe the bug
Unable to use babel in conjunction with typescript in @snowpack/app-template-react-typescript
To Reproduce
We can't fix bugs that we can't see for ourselves. Issues often need to be closed if this section is skipped.
npx create-snowpack-app react-snowpack --template @snowpack/app-template-react-typescript
yarn add @snowpack/plugin-babel @babel/preset-typescript
yarn start
I've pushed a reproduction repo here:
https://github.com/vitalybe/react-snowpack-typescript-babel
Expected behavior
Expected I could use babel (specifically I'm trying to use babel macros for styled-components).