webpack-make: clean up install logic
webpack-make: clean up install logic

Replace a monster if statement with a list of regexps.

Drop some exceptions to gzip like .ttf, which we don't ship anyway.

This commit is a pure refactor: it preserves the output exactly as it
was.

cockpit-project/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,mvollmer/cockpit,mvollmer/cockpit,cockpit-project/cockpit,mvollmer/cockpit,martinpitt/cockpit,martinpitt/cockpit,martinpitt/cockpit,cockpit-project/cockpit,mvollmer/cockpit,mvollmer/cockpit,martinpitt/cockpit,martinpitt/cockpit