mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-14 06:47:00 +10:00
fix(email): use automatic JSX runtime so templates render under tsx
Templates import no React (react-email convention); tsx resolves each file's nearest tsconfig, so jsx:preserve made esbuild emit classic React.createElement and background email rendering threw 'React is not defined'. Claude-Session: https://claude.ai/code/session_012Bnvt1MghwHj4qQRxuQUGa
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "@reactive-resume/config/tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"jsx": "preserve",
|
||||
"jsx": "react-jsx",
|
||||
"lib": ["ESNext", "DOM"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user