romanschejbal / gassetic

Assetic replacement based on the gulp build tool
MIT License
176 stars 17 forks source link

Added brackets configuration. #58

Closed discane closed 7 years ago

discane commented 8 years ago

This pull request (for issue https://github.com/romanschejbal/gassetic/issues/57) adds new option to gassetic.yml and allows to select type of brackets, that gassetic seek in files. For example: if in gassetic.yml:

replacementBrackets:
    open: '{#'
    close: '#}'

then gassetic find and replace {# {env}:{file} #}{# endbuild #} instead of <!-- {env}:{file} --><!-- endbuild --> It gives pure html without further comments after compiling twig template.

romanschejbal commented 7 years ago

I'm closing this in favour of #63 and #62. 😉 Soz