Skip to content

Commit

Permalink
fix: compile to es2020 and es modules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Sep 27, 2024
1 parent 1fc7adc commit 8a22e24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
{
"path": "packages/cookie-storage/dist/index.js",
"limit": "990 B"
"limit": "850 B"
},
{
"path": "packages/crypto/dist/index.js",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "@rambler-tech/ts-config/base",
"compilerOptions": {
"target": "es2017",
"target": "es2020",
"module": "esnext",
"sourceMap": false,
"strictPropertyInitialization": false,
Expand Down
1 change: 0 additions & 1 deletion tsconfig.package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"baseUrl": ".",
"outDir": "dist"
},
Expand Down

0 comments on commit 8a22e24

Please sign in to comment.