Hack together a solution for webpack