Skip to content

Instantly share code, notes, and snippets.

@Snugug
Created June 10, 2015 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Snugug/83e9befa3ecec3aeb91f to your computer and use it in GitHub Desktop.
Save Snugug/83e9befa3ecec3aeb91f to your computer and use it in GitHub Desktop.
Eyeglass with Gulp Sass
var gulp = require('gulp'),
sass = require('gulp-sass'),
Eyeglass = require('eyeglass');
gulp.task('sass', function () {
gulp.src('sass/**/*.scss')
.pipe(sass(new Eyeglass({
// Sass options go here
})))
.pipe(/* Other Stuff */)
})
@mechanicalduck
Copy link

It doesn't seem to work (anymore?):

TypeError: object is not a function

for new Eyeglass(...)

Using node version v0.12.7,
installed dependencies using command

npm install --save-dev gulp gulp-sass eyeglass

With best regards

@chriseppstein
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment