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 bc55ebe commit 6a47bbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .size-limit.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
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 6a47bbc

Please sign in to comment.