Skip to content

Commit

Permalink
Merge pull request #2 from VirtualLiveLab/feat/add-react-tsconfig
Browse files Browse the repository at this point in the history
feat/add react tsconfig
  • Loading branch information
sushichan044 authored Apr 20, 2024
2 parents eb84c55 + 6ca258d commit cceabc9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-onions-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@virtual-live-lab/tsconfig": patch
---

Add tsconfig for react and Next.js
13 changes: 13 additions & 0 deletions packages/tsconfig/nextjs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Next.js",
"extends": "./base.json",
"compilerOptions": {
"plugins": [{ "name": "next" }],
"module": "ESNext",
"moduleResolution": "Bundler",
"allowJs": true,
"jsx": "preserve",
"noEmit": true
}
}
7 changes: 7 additions & 0 deletions packages/tsconfig/react.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "./base.json",
"compilerOptions": {
"jsx": "react-jsx"
}
}

0 comments on commit cceabc9

Please sign in to comment.