In the SaaS version of Qlik Sense (at least), the "Export Without Data" feature strips all variables from the application besides its tables. Variables need to be retained because some may not be initialized in the load script. This can break the application when this is used as part of a backup or migration solution.
Thanks Peter. I was going crazy trying to understand why the variables defined in the application where missing when deploying the application from our dev environment to prod (we are not in Saas but the issue is here also). This is really annoying specially because we have some big apps (more than 1GB). We are also storing our empty applications in GiT. We can empty the app by adding an exit script at the beginning but this is not very convenient.
NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you only see 1 tab with the login page, please try clicking this link first: Authenticate me! then try the link above again. Ensure pop-up blocker is off.