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 committed by Martin Pitt
parent e4dc9d7118
commit a5ade152a8
3 changed files with 8 additions and 8 deletions

View file

@ -11,7 +11,7 @@ VM_IMAGE=$(CURDIR)/test/images/$(TEST_OS)
# stamp file to check if/when npm install ran
NODE_MODULES_TEST=package-lock.json
# one example file in dist/ from webpack to check if that already ran
WEBPACK_TEST=dist/index.html
WEBPACK_TEST=dist/index.css
all: $(WEBPACK_TEST)