Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 1008 Bytes

Bundles

Bundles are used for automatic minification and concatenation of the CSS style and JavaScript script files. When you create or edit a file and click the :guilabel:`Save` button, bundling process is automatically started and minified and concatenated files are created according to the template you defined. You can manage the bundles (add, edit, and delete) from the backend using the :guilabel:`Development/Bundles` section:

/images/fundamentals/development/bundles/1.png

Bundle files use JSON format. There should be the only two properties in the root object: outputFile (string) and inputFiles (string array):

/images/fundamentals/development/bundles/2.png

The RebuildAllBundles method of the BandleManager class is used to build the bundles.