Hi everyone. I’m trying to figure out how to simply include a file in my web export - without it going inside the .pck file. My use case is that I have a .js file my project imports as part of the <head> in the HTML that provides helper functions. I need the HTML file to be able to find the script to import it (ie it has to exist inside the build folder). I’m aware something like a bash script could do this but for speedy development I use Godot’s Remote Display -> Start HTTP Server option which prevents me from having to creating a new build, start my own HTTP server, run some script/copying over files etc.
So is there anyway to do this? Every method I’ve tried has not worked or put the file inside the .pck file. This would save me a ton of time. Thanks!
I am unfamiliar with this feature and cannot find it. Googling it didn’t help either. Could you provide a link to the official Godot documentation of what you’re using?
It would save a ton of time in helping you debug this if you told us what you’ve tried. Otherwise this thread is probably going to be filled with you responding, “Oh I already tried that.”
I’ve tried editing a bunch of different export settings (ex Filter to export non-resource files/folders) so I’d think it would live there. Basically I’ve tweaked almost everything in the export config.