'node-addon-api: Which compiled files do I need?

I'm just getting started with writing my own modules using node-addon-api and I noticed that after compiling with node-gyp, there are tons of files in the output directory. I noticed that I could remove everything except the mycppclass.node file, so I'm wondering what the rest is for and if you would recommend keeping them when I release the final software (which is supposed to be an Electron app).

For example, there is a mycppclass.pdb file that is ~4MG, while the .node file is only 100k. All in all, the build folder is about 100MB for just a "Hello World" example.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source