aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-11 18:16:38 +0300
committerGravatar Vitaly Takmazov2018-11-11 18:16:38 +0300
commitc1e3de650281981413d38df6ea9f24559812b86e (patch)
treea4f94bbe07b68a8816f21943d226cc8de733161b /webpack.config.js
parent642405b4fcff93e57ee1b4a943a9d4beca5cef27 (diff)
webpack: single chunk
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js12
1 files changed, 8 insertions, 4 deletions
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: {