Building (for HTML)

Is there a way to exclude specific folders from being incorporated in the build?
I have folders that contain tests that can be run from a normal terminal as part of my dev process and folders that contain data generated during each session.
Do I have to save them outside the project folder tree or can they be excluded?

Hi @andrew-flick !

Perhaps the ”.defignore” file may help here:

1 Like

Defold will only include files that are referenced in the bootstrap collection, then the files that those files reference and so on. If something in your project folder isn’t part of the game, it won’t be in final bundle.

.defignore worked. Thank you.

1 Like