From e0bb9656c48971992cde52a018db89a648bf9c08 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 4 Feb 2020 22:07:14 +0200 Subject: perf(demo): build for es2018 transpilation to es5 adds a significant overhead, slowing down runtime. --- demo/tsconfig.json | 1 + package.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/demo/tsconfig.json b/demo/tsconfig.json index 2c2940e..4e9d0f3 100644 --- a/demo/tsconfig.json +++ b/demo/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../tsconfig.json", "compilerOptions": { + "target": "es2018", "baseUrl": "..", "rootDir": "..", "lib": ["dom"], diff --git a/package.json b/package.json index e215667..7fcb063 100644 --- a/package.json +++ b/package.json @@ -63,5 +63,8 @@ "dependencies": {}, "alias": { "avr8js": "./src" - } + }, + "browserslist": [ + "last 1 Chrome versions" + ] } -- cgit v1.2.3