aboutsummaryrefslogtreecommitdiff
path: root/src/main/assets
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/assets')
-rw-r--r--src/main/assets/scripts.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js
index de4669b6..7e308bc8 100644
--- a/src/main/assets/scripts.js
+++ b/src/main/assets/scripts.js
@@ -1,8 +1,14 @@
require('element-closest/browser');
require('classlist.js');
-require('url-polyfill');
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 { embedLinksToX, embedAll, format } from './embed';
import renderIcons from './icon';
import svg4everybody from 'svg4everybody';