diff --git a/.size-limit.json b/.size-limit.json index 6fc350d..fa56c9c 100644 --- a/.size-limit.json +++ b/.size-limit.json @@ -5,7 +5,7 @@ }, { "path": "packages/cookie-storage/dist/index.js", - "limit": "990 B" + "limit": "850 B" }, { "path": "packages/crypto/dist/index.js", @@ -17,11 +17,11 @@ }, { "path": "packages/dom/dist/index.js", - "limit": "500 B" + "limit": "525 B" }, { "path": "packages/errors/dist/index.js", - "limit": "290 B" + "limit": "275 B" }, { "path": "packages/local-storage/dist/index.js", @@ -37,11 +37,11 @@ }, { "path": "packages/splits/dist/index.js", - "limit": "1.6 KB" + "limit": "1.5 KB" }, { "path": "packages/transport/dist/index.js", - "limit": "675 B" + "limit": "475 B" }, { "path": "packages/url/dist/index.js", diff --git a/tsconfig.json b/tsconfig.json index 66fb2cf..2ea5bbd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@rambler-tech/ts-config/base", "compilerOptions": { - "target": "es2017", + "target": "es2020", "module": "esnext", "sourceMap": false, "strictPropertyInitialization": false, diff --git a/tsconfig.package.json b/tsconfig.package.json index b81d8e5..c9bbdd7 100644 --- a/tsconfig.package.json +++ b/tsconfig.package.json @@ -1,7 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "module": "commonjs", "baseUrl": ".", "outDir": "dist" },