mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-09-24 02:39:11 +00:00
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:
parent
d4caff9774
commit
eff14acbba
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map
vendored
BIN
resources/dist/index.js.map
vendored
Binary file not shown.
|
@ -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()
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue