Skip to content

Commit d5f5ba9

Browse files
authored
feat(create-email): tsconfig for emails to work without React import (#2037)
1 parent a6eb5f5 commit d5f5ba9

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.changeset/better-trams-mate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-email-starter": patch
3+
---
4+
5+
add tsconfig for starter to work without importing React
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"compilerOptions": {
3+
"composite": false,
4+
"jsx": "react-jsx",
5+
"skipLibCheck": true,
6+
"strict": true,
7+
"strictNullChecks": true
8+
},
9+
"include": ["."],
10+
"exclude": ["node_modules"]
11+
}

0 commit comments

Comments
 (0)