Add hack to fix require(“lolex”) with webpack