/*eslint-disable no-unused-vars*/
var profile = {
    basePath: '../src',
    action: 'release',
    cssOptimize: 'comments',
    mini: true,
    optimize: 'uglify',
    layerOptimize: 'uglify',
    stripConsole: 'all',
    selectorEngine: 'acme',
    layers: {
        'dojo/dojo': {
            include: [
                'dojo/i18n',
                'dojo/domReady',
                'dojo/has',
                'app/run',
                'app/App',
                'app/packages',
                'dojox/gfx/path',
                'dojox/gfx/svg',
                'dojox/gfx/shape'
            ],
            includeLocales: ['en-us'],
            customBase: true,
            boot: true
        }
    },
    packages: ['bootstrap', {
        name: 'spin',
        resourceTags: {
            copyOnly: function (filename, mid) {
                return mid === 'spin/jquery.spin';
            }
        },
        location: './spinjs',
        main: 'spin'
    }, {
        name: 'moment',
        main: 'moment',
        resourceTags: {
            amd: function (filename) {
                return /\.js$/.test(filename);
            },
            test: function (filename, mid) {
                return /\/tests/.test(mid);
            },
            miniExclude: function (filename, mid) {
                return /\/src/.test(mid) || /\/templates/.test(mid);
            }
        }
    }],
    staticHasFeatures: {
        'dojo-trace-api': 0,
        'dojo-log-api': 0,
        'dojo-publish-privates': 0,
        'dojo-sync-loader': 0,
        'dojo-xhr-factory': 0,
        'dojo-test-sniff': 0
    },
    userConfig: {
        packages: ['app', 'dojo', 'dijit', 'dojox', 'agrc', 'ijit', 'esri', 'layer-selector']
    }
};

@@ -721,19 +721,204 @@
 s: %5B
-'bootstrap'
+%7B%0A        name: 'bootstrap',%0A        resourceTags: %7B%0A            copyOnly: function (filename, mid) %7B%0A                return mid === 'bootstrap/grunt/change-version';%0A            %7D%0A        %7D%0A    %7D
 , %7B%0A

tweak for build