From 2ab826d1d3d9de98e4cc853306af4044b45598e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Tue, 1 Feb 2022 13:01:54 +0100 Subject: [PATCH] Target ECMAScript 5 when using tsc in the prepack script Needed on MacOs --- tsconfig.export.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.export.json b/tsconfig.export.json index bb04df17..ff269d85 100644 --- a/tsconfig.export.json +++ b/tsconfig.export.json @@ -1,6 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "target": "es5", "esModuleInterop": true, "outDir": "export" }