From e2b927fca479a33048f06a8d70c3df4815fa22d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Sun, 31 May 2020 23:25:50 +0200 Subject: [PATCH] build: target latest ES versions supported in Nodejs 14 --- tsconfig.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 63d3119..d74f4f0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,15 +5,13 @@ "removeComments": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es2017", + "target": "ES2020", "sourceMap": true, "outDir": "./dist", "baseUrl": "./", "incremental": true, - "paths": {} + "paths": {}, + "lib": ["ES2020"] }, - "exclude": [ - "node_modules", - "dist" - ] -} \ No newline at end of file + "exclude": ["node_modules", "dist"] +}