diff --git a/.gitignore b/.gitignore index dbfc00ebd8..3637295756 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ node_modules !.yarn/releases !.yarn/sdks !.yarn/versions +.opencode diff --git a/packages/cozy-tsconfig/tsconfig.json b/packages/cozy-tsconfig/tsconfig.json index a15aa1c996..e3b2ed7545 100644 --- a/packages/cozy-tsconfig/tsconfig.json +++ b/packages/cozy-tsconfig/tsconfig.json @@ -24,12 +24,12 @@ "esnext" ], "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "noFallthroughCasesInSwitch": true, "outDir": "dist", // Best to include it by default to avoid errors like "Cannot write file 'src/foobar.d.ts' because it would overwrite input file." "resolveJsonModule": true, "skipLibCheck": true, "strict": true, // Disable if you have too many errors - "target": "es5" + "target": "ES2020" } }