From b6ef96f7d508a06baa794f221d6edd316ad1b802 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 13 Jul 2023 00:34:15 +0200 Subject: [PATCH] chore: Do not bundle `core-js` polyfills already included in server core Signed-off-by: Ferdinand Thiessen --- babel.config.js | 3 +-- package-lock.json | 1 - package.json | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/babel.config.js b/babel.config.js index 0cf0beca..f2b96c8f 100644 --- a/babel.config.js +++ b/babel.config.js @@ -4,8 +4,7 @@ export default { [ "@babel/env", { - useBuiltIns: "usage", - corejs: "3", + useBuiltIns: false, }, ], ], diff --git a/package-lock.json b/package-lock.json index e88efac9..b9416c56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@nextcloud/l10n": "^2.2.0", "@nextcloud/typings": "^1.7.0", - "core-js": "^3.31.1", "toastify-js": "^1.12.0" }, "devDependencies": { diff --git a/package.json b/package.json index 8f9deab3..8fadb52c 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "dependencies": { "@nextcloud/l10n": "^2.2.0", "@nextcloud/typings": "^1.7.0", - "core-js": "^3.31.1", "toastify-js": "^1.12.0" }, "files": [