diff --git a/.size-limit.json b/.size-limit.json index 7192671..daa7216 100644 --- a/.size-limit.json +++ b/.size-limit.json @@ -1,10 +1,10 @@ [ { "path": "packages/scoped-styles/dist/index.js", - "limit": "555 B" + "limit": "350 B" }, { "path": "packages/widget-element/dist/index.js", - "limit": "975 B" + "limit": "850 B" } ] 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" },