Adding the Source Map files to the .ZIP build


I’m currently working on a PlayCanvas project which is to be hosted on an external server. This means that, when I want to set a new version to prod, I need to download the build by doing Publish/Download .ZIP and then upload it into my server.

Most of the time, this flow is okay, but now I have a bug that occurs only on my prod server. In order to track it, getting the .map files (at least for the _game-scripts.js file) would really be helpful, but they are not available when downloading the build from PlayCanvas.

So here is my suggestion : would it be possible to add an option, when exporting the build as .ZIP, to include the Source Map files in the zip ?

Thanks !