Customize Optimization
When your visual application is shared or deployed, each web application's resources are optimized to improve performance. If you want to specify the resources you want to include and exclude in the optimized resources bundle, you can define your own optimization configuration in a build.json
file.
Optimization, by default, includes all application resources that match the regular expression
.*(\\.(js|json|html|css))$
in an optimized resources bundle named vb-app-bundle
. During this process, application stylesheets, HTML, and JSON files are minified, and RequireJS bundles created in the embedded build server that prepares your visual application to be shared or deployed. To customize this configuration to include and exclude resources, you'll need to create a build.json
file and define your own configuration before sharing or deploying your extension.