From 067259156c7ce770975877be59f7ed04e1e0c779 Mon Sep 17 00:00:00 2001 From: Andrey Polischuk Date: Mon, 27 Nov 2023 15:11:53 +0300 Subject: [PATCH] feat: compile to ES2017 BREAKING CHANGE: drop compiling to ES5 --- .size-limit.json | 2 +- tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.size-limit.json b/.size-limit.json index c5d086d5..931052ad 100644 --- a/.size-limit.json +++ b/.size-limit.json @@ -1,6 +1,6 @@ [ { "path": "dist/index.js", - "limit": "24 KB" + "limit": "20.1 KB" } ] diff --git a/tsconfig.json b/tsconfig.json index 74bdafd9..8551f672 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@rambler-tech/ts-config/base", "compilerOptions": { + "target": "es2017", "baseUrl": "src", "outDir": "dist", "sourceMap": false,