-
my code:
```javascript
gulp.task('sprite', function(){
var spriteData = gulp.src('./src/images/sprite/*.png')
.pipe(spritesmith('sprites.png', {
imgName: 'sprite.png',
…
-
hi mixtur ,i am confused about your example :
```
resolve: {
//webpack 1:
modulesDirectories: ["node_modules", "spritesmith-generated"],
//webpack 2:
modules: ["n…
-
The redesign will happen in the `develop` branch so the old client will stay as long as it's not complete, after it's we'll have to do a bit of cleanup.
This list is not complete, we'll probably add …
-
Bumped into an issue with the stylesheet generator in the case where an image's name begins with a number.
Couldn't find a ref to this in the sass spec, but sass variables must not begin with a num…
-
anything wrong?
https://github.com/MarvinXu/spritesmith-test
-
$ck: #66cc00;
$es: #3366cc;
$fr: #ff6c00;
$bd: #cc0000;
$wt: #FFDB00;
@each $brand in ck, es, fr, bd, wt{
.#{$brand}_bg {
background-color: $#{$brand}; //
ghost updated
6 years ago
-
Hi
I'm using Styled Components for a few days, and I'm searching how to deal with CSS sprites.
I use webpack-spritesmith, but it generates Sass mixins, and I can't use them directly in styled compon…
ghost updated
7 years ago
-
Hi i'm having issues trying to use the retina feature. i'm not sure what to put in `classifier` and are there any additional packages i need besides webpack-spritesmith to use the retina feature? A wo…
-
Hello,
how could I configure webpack-spritesmith to generate retina sprites ? (@2x)
I can't figure how to pass the right parameters
thanks in advance
-
I wanted to have both normal sprite and retina sprite. I followed the code in the below URL. I added 1 retina image for testing and getting this error.
My task
```
gulp.task('sprites', function()…