You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this when trying to use it with Vite + Solid starter.
Support for the experimental syntax 'jsx' isn't currently enabled (8:14):
Add @babel/preset-react (https://github.com/babel/babel/tree/main/packages/babel-preset-react) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx) to the 'plugins' section to enable parsing.
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
npx cross-env BABEL_SHOW_CONFIG_FOR=index.jsx <your build command>
See https://babeljs.io/docs/configuration#print-effective-configs for more info.I
The text was updated successfully, but these errors were encountered:
I get this when trying to use it with Vite + Solid starter.
The text was updated successfully, but these errors were encountered: