Explanation
Sometimes, standard JavaScript files provided by Wappler — such as stripe.js and server.js — may be customised to support specific workflows, integrations, or enhancements. However, during regular Wappler updates, these files are often overwritten without warning, which can break critical functionality and undo intentional modifications.
Challenge
Without a way to protect or isolate these changes, updates can become time-consuming and often require manual intervention to restore customised files. Although I use Git, it’s easy to miss a customised file - especially when 15–20 new files are available during an update, or when a project hasn’t been opened for a while and those customisations are no longer at the top of mind.
Suggested Solutions:
File-level exclusion: Remove the checkbox to exclude specific standard JS files from being updated. Currently, a group of files such as AppConnect or ServerConnect can be included / excluded from updating; there's no option to exclude a single file from being updated.Exceptions folder: Check for an exclusion folder e.g./custom-files, and skip updating any files saved inside this folderCustom file suffix: Create a customised version of the standard files using a suffix likestripe-custom.jsorserver-custom.js, and prioritise it over the standard version during runtime. With this method, standard JS files can be updated without impacting any customisations that may have been integrated in the application.
These options would provide users to safely extend or modify Wappler’s built-in functionality without fear of losing their customisations during updates.