From fd9efe8060bbb980c4bfe95dd06acf2c957e7828 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Wed, 18 Aug 2021 21:51:29 +0200 Subject: [PATCH] Do some tsconfig cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - `alwaysStrict` is unnecessary, because ESM is always strict. - `noEmit` is enabled, because TypeScript isn’t used to bundle the code. - `outDir` was removed, because TypeScrtips isn’t used to bundle the code. - `exclude` was removed, because it’s not necessary. --- tsconfig.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 4f49016..783e3fc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,15 @@ { "compilerOptions": { - "alwaysStrict": true, "declaration": true, "forceConsistentCasingInFileNames": true, "downlevelIteration": true, + "lib": ["dom", "es2017"], "module": "esnext", "moduleResolution": "node", - "lib": ["dom", "es2017"], - "outDir": "./out/esm", + "noEmit": true, "skipLibCheck": true, "sourceMap": true, "target": "es6", "types": [] - }, - "exclude": ["node_modules", "out", "lib", "test"] + } }