Igosuki / compass-mixins

A collection of compass' stylesheet for bower dependencies and libsass
Other
592 stars 197 forks source link

How to configurate sprites using compass-mixins? #92

Open Flourad opened 8 years ago

Flourad commented 8 years ago
  1. In the webpack.config.js,i add the loader configuration: { test: /\.scss$/, loader: 'style!css!sass?includePaths[]=' + './node_modules/compass-mixins/lib' }
  2. My directory list: image The _image.scss file: @import "compass/utilities/sprites"; @import "icon/*.png"; @include all-icon-sprites;

3.when i run webpack, the command-line alert errors below: image

DavidAlphaFox commented 8 years ago

Dear author! I have same problems. Should I ask this question in sass-loader project?

Flourad commented 8 years ago

@DavidAlphaFox I have given up sprites in compass-mixin, instead i use the url-load to process the images in my project now~

vova84 commented 7 years ago

I have same issue. @import "compass/utilities/sprites"; @import "/htdocs/img/payment-icons/*.png"; @include all-payment-icons-sprites(true);

@import "/htdocs/img/payment-icons/.png"; ^ File to import not found or unreadable: /htdocs/img/payment-icons/.png.

gatodeveloper commented 5 years ago

Hello @Flourad some update here?