Thomas Jaggi
62af7d477a
Error handling: Throw complete sass error but extend message
2015-05-12 18:48:07 +02:00
Linus Miller
9407865e27
Unshift instead of push current files path onto includePaths.
2015-05-12 13:31:04 +02:00
Thomas Jaggi
bdb05ca910
Add test case with gulp-sourcemaps and autoprefixer
2015-05-09 12:12:13 +02:00
David Peter
c1d629c209
Allow you to change the compiler and expose it
...
This will let you write sass.compiler.types, for example, and access the
sass types without having to require it in your main app.
Additionally, this lets you use a forked compiler, or a different branch
of the same compiler.
2015-04-14 12:23:54 -04:00
Sam Richard
b7ade97b7a
Indented Syntax support
2015-04-01 12:32:12 -04:00
Sam Richard
0fefd16607
Updated vars and includePaths based on comments
2015-04-01 10:43:39 -04:00
Sam Richard
4c4c3c125e
A little bit of source map massaging
2015-03-31 16:26:29 -04:00
Sam Richard
3cdf1a325d
Passing file as data
...
Resolves dlmanning/gulp-sass#158 once I get it working
2015-03-31 15:55:26 -04:00
Sam Richard
5c14789228
Updated Message style
...
Aligns with Stylish reporter (used in ESLint, jshint-stylish, etc…
Removed colors from message except for which is a standard Gulp log output color
Includes line and column in error report
2015-03-30 08:16:04 -04:00
Sam Richard
ca990d0981
DRY'ed out the push back into the stream
2015-03-26 20:19:33 -04:00
Sam Richard
7a2f8ac259
Resolved 2.x merge conflicts
...
# By Vincent Prouillet
# Via Vincent Prouillet
* '2.x' of github.com:Snugug/gulp-sass:
Use plugin name const in logError
# Conflicts:
# index.js
2015-03-26 19:55:20 -04:00
Sam Richard
f416379458
Added Sync option
...
Addes `sass.sync` to allow users to compile synchronously.
Wrapped the async callback in an `if` statement controlled by a `sync` option for the main function
Added `renderSync` render option
2015-03-26 19:42:14 -04:00
Sam Richard
8bc76e15e6
Moved 'use strict' in index.js to global
...
Updated tests accordingly
2015-03-26 19:15:59 -04:00
Vincent Prouillet
d77ca081c4
Use plugin name const in logError
2015-03-25 19:29:30 +00:00
Sam Richard
5f1812f623
Merge branch '2-sourcemaps' of https://github.com/Keats/gulp-sass into 2.x
...
# By Vincent Prouillet
# Via Vincent Prouillet
* '2-sourcemaps' of https://github.com/Keats/gulp-sass :
Sourcemap paths seem to be relative now?
# Conflicts:
# index.js
2015-03-24 15:21:47 -04:00
Sam Richard
5fbbc32bd9
Updated error message to more closely match 1.x
2015-03-24 15:15:54 -04:00
Sam Richard
eca922cb2d
Nicer function for logging errors
2015-03-24 07:32:46 -05:00
Vincent Prouillet
212e221212
Sourcemap paths seem to be relative now?
...
At least the test still pass and paths
looks the same with and without the relative fudge.
Sourcemaps are completely wonky though and do not point at the right thing
Also removes jshint since it's using eslint now
2015-03-24 12:16:31 +00:00
Sam Richard
ae3fa21a3a
Fixed linting issues with index.js
2015-03-24 05:38:03 -05:00
Sam Richard
480820b937
omitSourceMapUrl instead of hack
...
Node Sass now returns a buffer, so we don't need to turn it into a buffer for the contents
2015-03-24 04:51:57 -05:00
Sam Richard
abb28ba65e
Sourcemap Support ported from 1.x
2015-03-24 04:40:48 -05:00
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