Last active
December 20, 2015 10:31
-
-
Save eduardo-matos/6116216 to your computer and use it in GitHub Desktop.
Profile padrão para o build do Dojo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var profile = { | |
basePath: "./", | |
releaseDir: "./dist/", | |
mini: true, | |
optimize: 'closure', | |
layerOptimize: 'closure', | |
cssOptimize: 'comments', | |
stripConsole: 'all', | |
selectorEngine: 'lite', | |
packages:[ | |
{ | |
name: "dojo", | |
location: "./dojo" | |
}, | |
{ | |
name: "dijit", | |
location: "./dijit" | |
}, | |
{ | |
name: "dojox", | |
location: "./dojox" | |
}, | |
{ | |
name: "app", | |
location: "./app" | |
} | |
], | |
layers: { | |
'dojo/dojo' : { | |
customBase: true, | |
boot: true | |
}, | |
'app/app' : { | |
// compat: '1.6', | |
// noref: true | |
} | |
}, | |
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 | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment