Don't upload unused files?

Hi,

When building or uploading to a server, a bunch of unused files are uploaded, for example, /dmxConnectLib/stripe/ - even though stripe isn’t being used on the project, and the AWS SDK, which also isn’t be used. Since I am building this app for other users, I don’t want to provide all these unused files in the final product. Is there a way to disable this in Wappler somehow?

1 Like

This doesn’t seem like much of a solution though, wouldn’t this result in me having to manually add each file? I also don’t know exactly which files aren’t in use (apart from the obvious ones)

We currently do not keep track of used modules, so we can’t see what is used and what not.

But we will be working on more complex dependencies manager soon, to install and remove server connect modules on demand.

3 Likes

Awesome news. That’ll be extremely helpful when it comes to providing sites made in Wappler to other people and not giving them a bunch of files that aren’t used.

Is this something we’ll see in the upcoming 4.0 version, or further down the line?

Just realised, I used this on one of my recent projects: