Elao / node-module-assets-gulp

Handle your project's assets with style ! (and gulp)
http://elao.github.io/node-module-assets-gulp
0 stars 0 forks source link

Support plain CSS files #5

Closed Vincz closed 10 years ago

Vincz commented 10 years ago

There is many cases where we need to expose plain css files. Need a task for that.

benji07 commented 10 years ago

use the file option

benji07 commented 10 years ago
assets: {
        files: {
            groups: {
                'bootstrap/fonts': {src: 'bootstrap/fonts/*', dest: 'fonts'},
                'font-awesome': {src: 'font-awesome/fonts/*', dest: 'fonts'},
                'ionicons': {src: 'ionicons/fonts/*', dest: 'fonts'},
            }
        }
    }

copy file from src to dest

nervo commented 10 years ago

I've just add some other assets handlers for fonts, swf, and css in 0.1.13 You can still use "files", but you might want to switch to something like :

assets: {
        fonts: {
            groups: {
                'bootstrap': {src: 'bootstrap/fonts/*'},
                'font-awesome': {src: 'font-awesome/fonts/*'}
            }
        },
        css: {
            groups: {
                'foo': {src: 'foo/css/*'}
            }
        }
    }