From f05d0f5be0f6c2845477a9619b1e809d2b599913 Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Mon, 29 Jan 2024 11:49:06 +0300 Subject: [PATCH] fix(react): `@maskito/react` library should not include `core-js` imports --- projects/react/.babelrc | 3 +-- projects/react/project.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/react/.babelrc b/projects/react/.babelrc index f7b3a9bec..870a13e32 100644 --- a/projects/react/.babelrc +++ b/projects/react/.babelrc @@ -3,8 +3,7 @@ [ "@nx/react/babel", { - "runtime": "automatic", - "useBuiltIns": "usage" + "runtime": "automatic" } ] ], diff --git a/projects/react/project.json b/projects/react/project.json index a8e7d7a4e..f0ea1891e 100644 --- a/projects/react/project.json +++ b/projects/react/project.json @@ -15,6 +15,7 @@ "entryFile": "projects/react/src/index.ts", "external": "all", "rollupConfig": "@nx/react/plugins/bundle-rollup", + "compiler": "babel", "assets": [ { "glob": "projects/react/README.md",