Skip to content

matthijsch/gulp-tasks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Gulp tasks

Add to bower.json

{
    "dependencies": {
        "gulp-tasks": "https://github.com/ConnectHolland/gulp-tasks.git#^2.0"
    }
}

Inline images task

With the task inline-images you can create a 'sprite' of inline css images. The task generates an scss file with the inline-image($name) mixin and .inline-image-* css classes.

Make sure the following packages are available:

    "gulp-add-src": "^0.2.0",
    "gulp-concat": "^2.5.2",
    "gulp-image-data-uri": "^1.2.1",

Example configuration of config.json:

    "inline-images": {
        "src": [
            "images/icons2x/*"
        ]
    }

About

Connect Holland gulp tasks

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.6%
  • CSS 6.4%