Skip to content

Instantly share code, notes, and snippets.

@eduardo-matos
Last active December 20, 2015 10:31
Show Gist options
  • Save eduardo-matos/6116216 to your computer and use it in GitHub Desktop.
Save eduardo-matos/6116216 to your computer and use it in GitHub Desktop.
Profile padrão para o build do Dojo
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