Skip to content

Commit

Permalink
Merge pull request #663 from alleyinteractive/feature/issue-662/add-r…
Browse files Browse the repository at this point in the history
…esolveJsonModule-tsconfig

Issue-662: Add resolveJsonModule to tsconfig
  • Loading branch information
kevinfodness authored Jul 8, 2024
2 parents 8c9655e + 8eafd0e commit fa55e3c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-carrots-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alleyinteractive/tsconfig": patch
---

Add resolveJsonModule to allow importing JSON files
1 change: 1 addition & 0 deletions packages/tsconfig/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ including:
* `outDir`: `build` - The output directory for the transpiled files.
* `preserveWatchOutput`: `true` - Ensures that the output is cleared before
each build.
* `resolveJsonModule`: `true` - Allows importing JSON files as modules.
* `skipLibCheck`: `true` - Skips type checking of `.d.ts` files.
* `sourceMap`: `true` - Generates source maps for the transpiled files.
* `strict`: `true` - Enables all strict type checking options.
Expand Down
1 change: 1 addition & 0 deletions packages/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"noUnusedParameters": false,
"outDir": "build",
"preserveWatchOutput": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
Expand Down

0 comments on commit fa55e3c

Please # to comment.