We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, as soon I enable your plugin I get syntax errors on JSX syntax.
This is my config:
export default defineConfig(({ mode }) => { const env = loadEnv(mode, 'env'); // reuse vite's env parser to inject into our index.html return { esbuild: { loader: 'jsx', include: /src\/.*\.jsx?$/, exclude: [], }, plugins: [ macrosPlugin(), reactPlugin({ // Exclude storybook stories exclude: /\.stories\.(t|j)sx?$/, }), ], }; });
I tried to change the order of the plugins but it didn't help.
The text was updated successfully, but these errors were encountered:
@itsMapleLeaf hello,do you fix this problem?I meet the same error.
Sorry, something went wrong.
@vitejs/plugin-react
No branches or pull requests
Hi, as soon I enable your plugin I get syntax errors on JSX syntax.
This is my config:
I tried to change the order of the plugins but it didn't help.
The text was updated successfully, but these errors were encountered: