Skip to content

Commit

Permalink
Update tsconfig.json - remove es6 so that app can inherit from es2020…
Browse files Browse the repository at this point in the history
… in base.json

Drizzle issue here:drizzle-team/drizzle-orm#803    

Drizzle requires target newer than es5, but next was shipping es5 until recently (even though it didn't use it). 

Fix is to remove override in this config file and let it use the base.json target, which is es2020.
  • Loading branch information
jthrilly authored Feb 1, 2024
1 parent cc8e4e1 commit 3940b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/analytics/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "tsconfig/nextjs.json",
"compilerOptions": {
"target": "ES6", // update to ES6 because of Drizzle issue here:https://github.com/drizzle-team/drizzle-orm/issues/803 "lib": ["dom", "dom.iterable", "esnext"],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
Expand Down

0 comments on commit 3940b29

Please sign in to comment.