How To edit build settings |
This article lists the possible settings that can be used to customize how the application client files (.ts, .js, .css, .less) are handled by Packflow Manager.
In every folder of the Visual Studio project containing client files (Forms, Css, Javascript, Pages, Parts), you can create a "build.cfg" file.
As you can see, three (optional) settings can currently be used to:
# The following settings impact how the current directory is built by Packflow Manager. BuildTypeScriptFiles=* #Build all TypeScript files of this directory. This is the default value. #BuildTypeScriptFiles=File1.ts;File2.ts #Only build the specified TypeScript files. #BuildTypeScriptFiles= #Do not build any TypeScript file of this directory. Minify=ApplicationHub.js;ApplicationRest.js #Minify the specified list of JS/CSS/LESS files. Bundle=Bundle1.js;CustomFile1.js;CustomFile2.js #Creates a bundle named "Bundle1.js" containing the specified files. Bundle=Bundle2.js;CustomFile3.js;CustomFile4.js #Creates a bundle named "Bundle2.js" containing the specified files.
On each line, the text preceded by a # is considered as a comment (and is ignored).