aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/assets/scripts.js1
-rw-r--r--webpack.config.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js
index 8f6dd961..ef02dca8 100644
--- a/src/main/assets/scripts.js
+++ b/src/main/assets/scripts.js
@@ -2,6 +2,7 @@ require('element-closest/browser');
require('classlist.js');
require('url-polyfill');
require('formdata-polyfill');
+require('whatwg-fetch');
import { embedLinksToX, embedAll, format } from './embed';
import renderIcons from './icon';
import svg4everybody from 'svg4everybody';
diff --git a/webpack.config.js b/webpack.config.js
index 77844515..1d5f722b 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -21,8 +21,6 @@ module.exports = (env, argv) => {
'core-js/modules/es.symbol',
'core-js/modules/es.weak-map',
'core-js/modules/web.dom-collections.iterator',
- 'url-polyfill',
- 'whatwg-fetch',
__dirname + '/src/main/assets/scripts.js',
__dirname + '/src/main/assets/style.css',
require.resolve('evil-icons/assets/sprite.svg'),