Commit graph

95 commits

Author SHA1 Message Date
Vincent Prouillet 1dd861e4d6 Rewrite gulp-sass to be a very light wrapper
Simply pass everything to node-sass and just hand
back the results to gulp.
Removed custom options like success/failure cb
and sync rendering.

Missing:
 -  gulp-sourcemaps support + test
2015-03-23 22:30:52 +00:00
Matias Singers 9e90c79e5b Format errLogToConsole message with red color 2015-03-16 18:01:37 +08:00
David Manning 314ce5c159 Updated node-sass dependency 2015-02-12 13:49:11 -08:00
MethodGrab 1a1c1b4cd9 Add lineNumber & fileName to emitted error 2015-02-10 13:45:07 +00:00
Joakim Strandell 55601e217b New string for error logging 2015-01-15 13:07:49 +01:00
xzyfer 013064de26 Fix undefined variable 2015-01-14 15:42:01 +11:00
David Manning cc2b0a919d Fix formatting and remove dead code 2015-01-13 17:21:54 -08:00
Daphne Maddox 12f8db9863 update to node-sass version 2 beta
Peg node-sass dependency at "2.0.0-beta". node-sass version 2 is still
in beta, be wary of this branch.

Handle object output from node-sass, read `css` and `map` properties,
consistent with node-sass v2 API.

Simplify handling of file/data and sourceComments/sourceMap options.
2015-01-04 08:25:18 -08:00
Julien Muetton 0d1a5eb2b7 Fix include path with node 1.2.3 2014-11-26 11:09:36 +01:00
David Manning d2d97eb631 little clean up 2014-11-13 18:47:16 -08:00
Felix Zandanel cff681aeb1 Make a deep clone of the options hash at the prolog 2014-11-08 18:02:07 +01:00
David Manning 77159456fb merge 2014-10-28 22:58:24 -07:00
David Manning 91776b3a39 fix includePaths 2014-10-28 11:01:55 -07:00
David Manning 22fe33db96 merge 2014-10-09 15:03:12 -07:00
David Clark 63a08c54f6 Make sourcemap source paths relative to file.base; fixes #92. 2014-10-04 17:05:52 -07:00
Brent Dearth e49130a48e fix(sourcemaps): allow for rewriting sourceMappingURL in compressed output style 2014-10-02 14:38:51 -04:00
David Manning 88a7afdc11 fixed issue sourceMap 2014-09-10 22:35:08 -07:00
David Manning 25b326fac1 Resolve merge conflicts 2014-09-10 20:04:06 -07:00
Jesse Pollak f3db14303a switch to use vinyl-sourcemaps-apply 2014-09-10 16:24:04 -07:00
David Manning 57b7a6cfcf fixed: Assertion 'val->IsString()' failed 2014-08-12 12:11:39 -07:00
Niels Doucet 6d36258b5c conform to whitespace usage in forked repo 2014-07-14 15:26:25 +02:00
Niels Doucet 2b96addeab conform to whitespace usage in forked repo 2014-07-14 15:23:52 +02:00
Niels Doucet c55ebd5c2c Add option, so the user can choose to call libsass synchronously. This can alleviate some pressure from the cpu and the memory when rendering large or many files. 2014-07-14 15:21:31 +02:00
Jesse Pollak 4c3154aeb1 fixes readme 2014-05-27 12:56:55 -07:00
Jesse Pollak 5b2408d338 fixes logic 2014-05-10 12:04:51 -07:00
Jesse Pollak 1c9604d243 adds compatibility for gulp-sourcemap 2014-05-09 20:38:00 -07:00
Tomas cb279fb9e2 Add support for 'normal' sourceComments 2014-02-18 17:46:40 -03:00
David Manning 1e7da62c18 Added: preliminary source map support 2014-02-10 21:01:45 -08:00
David Manning df32000dd2 Added: onError and onSuccess callback options 2014-01-25 09:46:20 -08:00
David Manning 7c021a03d6 Fix: Make sure includePaths default is specific for each file 2014-01-22 15:48:40 -08:00
David Manning d009ffb818 Added: Default for includePaths option 2014-01-22 12:52:04 -08:00
Steve Lacy bf3a08da85 Remove traces of clone() 2014-01-20 17:13:46 -07:00
Steve Lacy 3fface49e9 Add _ check 2014-01-20 14:41:36 -07:00
Steve Lacy b5ce4d76b2 Remove clone, _ check is not needed 2014-01-20 11:56:56 -07:00
David Manning 52e7d845ee Pass along file when .isNull() 2014-01-19 00:39:41 -08:00
David Manning db43de3673 use gutil.log() for console logging errors 2014-01-12 22:43:12 -08:00
David Manning 6d63ff3220 Add errLogToConsole option 2014-01-12 22:27:45 -08:00
David Manning 1b5075aecd Minor edits to Neil Kinnish's PR 2014-01-10 13:34:30 -08:00
Neil Kinnish 86827e6eca Update error handling and handled partials
1. Updated so as an error is logged rather than reported as an error as this will stop the watcher which could be annoying - although may be a preference option?

2. Added logic to ignore a partial (doesn't log) essentially a sass file prefixed with '_'
2014-01-10 16:27:05 +00:00
David Manning 09879621c0 Removed extraneous comments 2014-01-10 01:46:15 -08:00
David Manning 0928222c4e Added check for null files 2014-01-05 10:15:20 -05:00
Will O'Brien a4a43487e3 Remove file clone
The file object passed by gulp is now a wrapped node file object. Clone
seems to be tripping over the path setting resulting in .scss files
rather than .css files. The content of the files is, as expected, css.

This fix removes the file cloning and instead just emits the incoming
file with modified attributes.
2013-12-14 18:23:04 -08:00
David Manning c7f4c33556 Added documentation 2013-08-31 21:54:25 -07:00
David Manning 5d258dc2f4 pass additional options to node-sass 2013-08-31 19:00:14 -07:00
David Manning a983cb7320 Initial commit 2013-08-31 16:53:11 -07:00