From f611fd06983730b10dcf0d9ff128d9a1198ec155 Mon Sep 17 00:00:00 2001 From: Gil Barbara Date: Tue, 10 Oct 2023 12:00:53 -0300 Subject: [PATCH] Revert commonjs target to es5 --- package.json | 4 ++-- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6e0c5607..62839146 100644 --- a/package.json +++ b/package.json @@ -156,12 +156,12 @@ { "name": "commonjs", "path": "./dist/index.js", - "limit": "40 kB" + "limit": "45 kB" }, { "name": "esm", "path": "./dist/index.mjs", - "limit": "30 kB" + "limit": "35 kB" } ] } diff --git a/tsconfig.json b/tsconfig.json index 7838c9dc..e8267942 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "paths": { "~/*": ["src/*"] }, - "target": "ES2022" + "target": "es5" }, "include": ["src/**/*"] }