romanschejbal / gassetic

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

Can i use external config? #72

Closed SuretnoHQ closed 2 years ago

SuretnoHQ commented 7 years ago

Hello there,

I few some trouble when i'm make config with many file, can i import config list of file to use in gassetic.yml?

Like symfony have ..

# app/config/config.yml
imports:
    - { resource: '%kernel.root_dir%/parameters.yml' }

Maybe like this

...
                # This is a cache busting gulp plugin that appends
                #  an md5 of the contents to the filename
                - { name: freeze }
            htmlTag: '<link rel="stylesheet" type="text/css" href="{{ asset("%path%") }}">' # custom html tag

        # This is the list of source files to apply the above settings
        files:
            backend.css: # This is the output filename
                imports:
                    - SomeFile.yml # Another config file
...