Which files to upload when publishing online

I’ve used the template as well and have a dist folder. Inside the folder are a main.js.map file as well as index.html and a folder called assets which contains all the assets used in the game. Is it just a matter of uploading the dist folder or do I need to upload the source files also which are in public and src folders?