npm: Upgrade webpack related development dependencies

compression-webpack-plugin fixes https://www.npmjs.com/advisories/1548

Adjust to new copy-webpack-plugin API.

Thew new modules now create dist/index.html.gz in `NODE_ENV=production`
mode, so switch `WEBPACK_TEST` to index.css instead (which remains
uncompressed in both modes).
This commit is contained in:
Martin Pitt 2020-09-28 06:54:59 +02:00
parent 7dec8a1227
commit daef2b58b0
3 changed files with 8 additions and 8 deletions

View file

@ -78,7 +78,7 @@ info.files.forEach(function(value) {
info.files = files;
var plugins = [
new copy(info.files),
new copy({ patterns: info.files }),
new extract({filename: "[name].css"})
];