I’m working with web platform export but each time that I compile the game cocos creator overwrite my index.html, I made a couple of changes on the index.html that I need to preserve, is there any way to make a custom build? I mean to tell cocos that dont overwrite the current index.html or other solution to this problem?
I think you can edit the index.html here: C:\CocosCreator\resources\static\build-templates\web-desktop\template\index.html
(just tested and it works).
Also, you can commit the changes on your repository and then simply discard every time you build.
Also, you can use the cocos build inside an Iframe, so your main html loads the cocos inside.