diff --git a/tsconfig.json b/tsconfig.json index 71a15930..b022d603 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,32 +1,28 @@ { "compilerOptions": { - "declaration": true, - "emitDeclarationOnly": true, + "target": "es5", + "outDir": "./build", + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "incremental": true, + "lib": ["dom", "dom.iterable", "esnext"], + "skipLibCheck": true, "esModuleInterop": true, "noImplicitAny": false, "preserveConstEnums": true, "removeComments": true, "sourceMap": true, "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, "allowJs": true, "strict": true, - "outDir": "dist/types", - "target": "esnext", - "module": "esnext", - "moduleResolution": "node", - "jsx": "preserve", - "lib": ["dom", "dom.iterable", "esnext"], - "skipLibCheck": true, "baseUrl": ".", - "paths": { - "*": ["./*"] - }, - "forceConsistentCasingInFileNames": true, + "strictNullChecks": false, "noEmit": true, - "incremental": true, - "resolveJsonModule": true, - "isolatedModules": true + "jsx": "preserve" }, - "include": ["next-env.d.ts", "**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"] }