How do I tell the dojo build system to run the shrinksafe optimization on files NOT included in a layer but in the perfixes directories?
Thanks
How do I tell the dojo build system to run the shrinksafe optimization on files NOT included in a layer but in the perfixes directories?
Thanks
There are two optimization parameters for custom builds: optimize
and layerOptimize
. In your case, you would need to set optimize=shrinksafe
.
optimize Specifies how to optimize module files. If "comments" is specified, then code comments are stripped. If "shrinksafe" is specified, then the Dojo compressor will be used on the files, and line returns will be removed. If "shrinksafe.keepLines" is specified, then the Dojo compressor will be used on the files, and line returns will be preserved. If "packer" is specified, Then Dean Edwards' Packer will be used Default: "",
layerOptimize Specifies how to optimize the layer files. If "comments" is specified, then code comments are stripped. If "shrinksafe" is specified, then the Dojo compressor will be used on the files, and line returns will be removed. If "shrinksafe.keepLines" is specified, then the Dojo compressor will be used on the layer files, and line returns will be preserved. If "packer" is specified, Then Dean Edwards' Packer will be used Default: "shrinksafe",