Skip to content

miser/grunt-ispriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-ispriter可以方便地通过grunt使用iSpriter

NPM

NPM

配置:

grunt.initConfig({
     ispriter: {
        default: {
            imagedist: '../images', //可选,默认spriter图将存放在.//public/spriter_stylesheets/img/下
            fileversion:'', //可选,为spriter图将加上版本号,默认不加版本号
            files: {
                    './public/spriter_stylesheets/': ['./public/stylesheets/',...], //'经过修改过的css存放目录':['css源目录']
            }
        }
    }
});

or

grunt.initConfig({
     ispriter: {
        default: {
            imagedist: '../images', //可选,默认spriter图将存放在.//public/spriter_stylesheets/img/下
            fileversion:'', //可选,为spriter图将加上版本号,默认不加版本号
            files: {
                './public/spriter_stylesheets/': ['./public/stylesheets/',...], //'经过修改过的css存放目录':['css源目录']
            }
        }
    }
});

License

MIT

About

A grunt plugin to create css sprite with ispriter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published