-
-
Save chriseppstein/d7be56e21b216275bd86 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require("gulp"); | |
| var sass = require("gulp-sass"); | |
| var Eyeglass = require("eyeglass").Eyeglass; | |
| var eyeglass = new Eyeglass({ | |
| // ... node-sass options | |
| importer: function(uri, prev, done) { | |
| done(sass.compiler.types.NULL); | |
| } | |
| }); | |
| // Disable import once with gulp until we | |
| // figure out how to make them work together. | |
| eyeglass.enableImportOnce = false | |
| gulp.task("sass", function () { | |
| gulp.src("./sass/**/*.scss") | |
| .pipe(sass(eyeglass.sassOptions()).on("error", sass.logError)) | |
| .pipe(gulp.dest("./css")); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "devDependencies": { | |
| "eyeglass": "^0.6.2", | |
| "gulp": "^3.9.0", | |
| "gulp-sass": "^2.0.4", | |
| "susy": "^2.2.5" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment