aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.browserslistrc3
-rw-r--r--package.json3
-rw-r--r--webpack.config.js12
3 files changed, 11 insertions, 7 deletions
diff --git a/.browserslistrc b/.browserslistrc
index 4e36fc0e..a28760d1 100644
--- a/.browserslistrc
+++ b/.browserslistrc
@@ -1,5 +1,4 @@
last 4 versions
ie >= 9
-android >= 4.2
-chrome >= 37
+android >= 2.3
firefox >= 48
diff --git a/package.json b/package.json
index 4aa6a38b..a621bfe4 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,8 @@
[
"@babel/preset-env",
{
- "useBuiltIns": "usage"
+ "useBuiltIns": "usage",
+ "debug": true
}
]
]
diff --git a/webpack.config.js b/webpack.config.js
index d45d6a11..18db4ec5 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -9,20 +9,24 @@ module.exports = (env, argv) => {
devtool: dev ? 'source-map' : false,
entry: {
'scripts': [
+ 'core-js/modules/es6.array.index-of',
+ 'core-js/modules/es6.array.iterator',
'core-js/modules/es6.array.map',
+ 'core-js/modules/es6.function.name',
'core-js/modules/es6.object.create',
'core-js/modules/es6.object.define-property',
+ 'core-js/modules/es6.object.keys',
'core-js/modules/es6.object.set-prototype-of',
'core-js/modules/es6.promise',
+ 'core-js/modules/es6.regexp.split',
'core-js/modules/es6.symbol',
'core-js/modules/web.dom.iterable',
+ 'url-polyfill',
'whatwg-fetch',
__dirname + '/src/main/assets/scripts.js',
- require.resolve('evil-icons/assets/evil-icons.js')
- ],
- 'style': [
__dirname + '/src/main/assets/style.css',
- require.resolve('evil-icons/assets/evil-icons.css')
+ require.resolve('evil-icons/assets/evil-icons.css'),
+ require.resolve('evil-icons/assets/evil-icons.js')
]
},
output: {