This is needed because `require()` means something different in webpack - it ends up importing the module as something we didn't expect (and is occasionally async)