I've got a custom main-menu system setup by redirecting the starting window to a separate html file before falling back onto the actual games index.html.
I did this by changing the "main" path in the package.json file to the path of the new replacement menu.
The issue is that all my changes get overwritten every time I save the project in MZ. Is there some way to stop it from regenerating package.json every single time I press ctrl+s?
"resizable": false gets removed too, allowing people to freely resize the window of the game. As well as any npm packages I import.
Everything works fine until I make a change and save the project, at which point I have to readd all my changes manually.
I did this by changing the "main" path in the package.json file to the path of the new replacement menu.
The issue is that all my changes get overwritten every time I save the project in MZ. Is there some way to stop it from regenerating package.json every single time I press ctrl+s?
"resizable": false gets removed too, allowing people to freely resize the window of the game. As well as any npm packages I import.
Everything works fine until I make a change and save the project, at which point I have to readd all my changes manually.