I am totally new to NodeJS and I wonder what's the difference between those two.

For example, in this project (<https://github.com/fikriauliya/hipku>), we have `index.js` and `dist/hipku.js`. They are similar except the last line:

`module.exports = publicMethods;` vs `return publicMethods;`

I guess `dist/hipku.js` is generated from `index.js`? How is it generated and why does it need to be generated?