Tooling: Use latest stable webpack

Webpack 1.14.0 is an old version, switch to using latest stable which
has better documentation, tree shaking, ES2015 modules and a core team
of contributors with funding. See https://webpack.js.org/

Additional changes:
* Recompile the frontend assets

Change-Id: I2c5940276e99dee104d04c6a0b83d8ab36a99df5
This commit is contained in:
joakin 2017-03-03 11:24:45 +01:00
parent d4caff9774
commit eff14acbba
4 changed files with 8 additions and 2 deletions

View file

@ -26,6 +26,6 @@
"redux-thunk": "2.2.0",
"stylelint-config-wikimedia": "0.3.0",
"tap-dot": "^1.0.5",
"webpack": "^1.14.0"
"webpack": "^2.2.1"
}
}

Binary file not shown.

Binary file not shown.

View file

@ -21,5 +21,11 @@ module.exports = {
redux: path.resolve(__dirname, 'node_modules/redux/dist/redux.js'),
'redux-thunk': path.resolve(__dirname, 'node_modules/redux-thunk/dist/redux-thunk.js')
}
}
},
plugins: [
// To generate identifiers that are preserved over builds, webpack supplies
// the NamedModulesPlugin (generates comments with file names on bundle)
// https://webpack.js.org/guides/caching/#deterministic-hashes
new webpack.NamedModulesPlugin()
]
};