Skip to content
New issue

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

fix(schema): pass correct jsx config for esbuild-loader #27341

Merged
merged 1 commit into from
May 24, 2024

Conversation

danielroe
Copy link
Member

🔗 Linked issue

resolves #23844

📚 Description

This ports esbuild configuration to webpack from vite:

esbuild: {
jsxFactory: 'h',
jsxFragment: 'Fragment',
tsconfigRaw: '{}',
},

Note that this does not enable support for auto-importing components used within JSX/TSX files in webpack; that is a separate issue. (For now, a workaround is to import them from #components.)

Copy link

stackblitz bot commented May 24, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[webpack-builder] Unable to use the out-of-the-box support for jsx syntax
1 participant