barra-brasil-final.yaml 811 Bytes
# configuracao do assetgen para:
# - mesclar o css com javascript de comportamento

generate:

- barra-brasil_sem_licenca.js:
    source:
      - build/barra-brasil-original.js       # parte de comportamento
      - build/footer-brasil-original.js       # parte de comportamento
    uglify.bin: uglifyjs

- barra-brasil.js:
    compress: false
    uglify.bin: uglifyjs
    css.compress: false
    source:
       - build/barra-brasil_sem_licenca.js
       - raw: "/** @license-end */"  # fechamento da licença
    template: |
        /** @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0 */  ${source|trim}

css.embed: true
css.embed.only: true
output.directory: build
output.hashed: false
output.manifest: assets.json

profile.dev:
  css.compress: false
  js.compress: false