From b4bac6106acedf660d4b8b590ee4500ff51ec7f4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 30 Mar 2021 15:06:18 +0300 Subject: babel: exclude es.symbol.* polyfills from the bundle --- src/main/assets/scripts.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/main') diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js index 7e308bc8..e801c9be 100644 --- a/src/main/assets/scripts.js +++ b/src/main/assets/scripts.js @@ -2,13 +2,7 @@ require('element-closest/browser'); require('classlist.js'); require('formdata-polyfill'); require('whatwg-fetch'); - -import 'core-js/features/url'; -import 'core-js/features/url-search-params'; -import 'core-js/modules/es.object.create'; -import 'core-js/modules/es.object.define-property'; -import 'core-js/modules/es.object.set-prototype-of'; -import 'core-js/modules/es.promise'; +import 'core-js/stable'; import { embedLinksToX, embedAll, format } from './embed'; import renderIcons from './icon'; import svg4everybody from 'svg4everybody'; -- cgit v1.2.3