Suppress Optimization

When your extension is shared or deployed, its resources are optimized to reduce load times and network traffic. Optimization is recommended to improve your App UI's performance before it's shared with others, but at times you may need to disable optimization, say to troubleshoot file access issues that occur because of optimizing your extension.

Optimization minifies application stylesheets, HTML, and JSON files, and creates RequireJS bundles in the embedded build server that prepares your extension to be shared or deployed. If you don't want these resources to be optimized, you can turn off optimization before sharing or deploying your extension.

To disable application optimization:

  1. Click Menu in the upper right corner and select Settings.
  2. Select Suppress optimization under Optimization in the General tab.

    With this setting, optimization is disabled in the build.json file as follows:
    { 
      "optimize": {
        "suppress": true
      }
    }

    Click Open Build Configuration to open this file (located under /extension1/sources/settings in Source view) from within the extension-level Settings editor and confirm that optimization is disabled.

To re-enable optimization, deselect Suppress optimization in the Settings editor. Optimization automatically takes effect the next time your extension is shared or deployed. To explicitly specify the resources you want to include and exclude in the optimized resources bundle, see Customize Optimization.