biozshock/assetic-gulp

There is no license information available for the latest version (1.0.7) of this package.

1.0.7 2018-01-10 14:54 UTC

This package is not auto-updated.

Last update: 2024-04-26 13:15:07 UTC


README

This bundle provides a command assetic:gulp that generates a JSON file suitable for use with gulp

Example config

[
    {
        "sources": [
            "\/home\/user\/project\/app\/..\/vendor\/twitter\/bootstrap\/dist\/js\/bootstrap.js"
        ],
        "destination": {
            "path": "\/home\/user\/project/app\/..\/web\/assetic",
            "file": "bootstrap_js.js"
        },
        "types": [
            "js"
        ]
    },
    {
        "sources": [
            "\/home\/user\/project\/app\/..\/vendor\/twitter\/bootstrap\/dist\/css\/bootstrap.css",
            "\/home\/user\/project\/app\/..\/vendor\/twitter\/bootstrap\/dist\/css\/bootstrap-theme.css"
        ],
        "destination": {
            "path": "\/home\/user\/project\/app\/..\/web\/assetic",
            "file": "bootstrap_css.css"
        },
        "types": [
            "css"
        ]
    }
]

Such file can be processed with example gulpfile.js: