Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.)

@bolt-new-by-stackblitz
Copy link

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

@danielroe danielroe merged commit b8fdbed into main May 24, 2024
@danielroe danielroe deleted the fix/webpack-jsx branch May 24, 2024 14:28
@github-actions github-actions bot mentioned this pull request May 24, 2024
4 tasks
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

2 participants