How to export a JavaScript module to multiple formats using webpack | Hacker News Reader