Skip to content

Instantly share code, notes, and snippets.

@tarot
Created July 9, 2015 13:47
Show Gist options
  • Save tarot/ca722ea2f2a2bd22aaf7 to your computer and use it in GitHub Desktop.
Save tarot/ca722ea2f2a2bd22aaf7 to your computer and use it in GitHub Desktop.
なんで"sourcesContent":[null]になるの?
gulp = require 'gulp'
sass = require 'gulp-sass'
sourcemaps = require 'gulp-sourcemaps'
gulp.task 'sass', ->
gulp.src './source/**/*.sass'
.pipe sourcemaps.init()
.pipe sass(indentedSyntax: true).on('error', sass.logError)
.pipe sourcemaps.write('.')
.pipe gulp.dest('./public')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment