Skip to content

Instantly share code, notes, and snippets.

@allanbatista
Last active January 1, 2016 01:29
Show Gist options
  • Save allanbatista/8072944 to your computer and use it in GitHub Desktop.
Save allanbatista/8072944 to your computer and use it in GitHub Desktop.
Configuração do Dojo System Build para Webapp yoeman.
var profile = {
basePath: ".",
releaseDir: "./dist/scripts",
action: "release",
optimize: "closure",
layerOptimize: "closure",
selectorEngine: "acme",
packages:[{
name: "dojo",
location: "./app/bower_components/dojo"
},{
name: "infobusca",
location: "./\.tmp/scripts/infobusca"
}],
layers: {
"infobusca/boot": { // Cria uma arquivo de boot para a aplicação, portando, chame este arquivo na versão de produção.
include: [ "infobusca/main" ],
customBase: true,
boot: true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment