Natalie Weizenbaum
8a14419856
Continue loading Node Sass by default
...
This documents the option to use Dart Sass, and encourages users to
explicitly choose their implementation, but it doesn't change the
existing behavior.
2018-10-16 17:57:46 +10:00
Natalie Weizenbaum
7cc2db1168
Make this package implementation-agnostic
...
Rather than always loading Node Sass, this now requires users to pass
in either Dart Sass or Node Sass to the require() call.
Closes #672
2018-10-16 17:57:46 +10:00
Daniel Kvistgaard
71471c2d2c
Declaring logError as function instead of arrow function.
2018-04-08 13:05:50 +10:00
xzyfer
7656eff297
Adopt airbnb eslint preset
2018-03-24 12:55:37 +11:00
xzyfer
12931694be
Bump autoprefixer@^8.1.0, gulp-postcss@^7.0.1
2018-03-24 12:55:37 +11:00
Charles Samborski
e61535250e
Drop dependency on deprecated `gulp-util`
...
Closes dlmanning/gulp-sass#646
2018-03-24 12:55:35 +11:00
Paul Hawxby
cc4ed2fc34
Unit tests now work on windows
...
Closes #620
2018-03-11 16:37:23 +11:00
xzyfer
3150325f32
Fix failing sourcemaps tests
...
It looks like a dependency has caused some tests to start failing.
Sourcemaps are not a documented API so this is not a breaking
change.
2016-02-04 22:56:41 +11:00
Vincent Prouillet
52fba693e0
Merge pull request #420 from jlgeering/error-msg-unformatted
...
preserve the original error message for notification(s) support
2015-12-21 10:53:18 +00:00
Jean-Luc Geering
3075a845c6
preserve the original error message
2015-12-21 09:45:33 +01:00
Aaron Schloser
5e8af62356
add relativePath assertion to sync test
2015-12-18 10:38:44 -08:00
Aaron Schloser
b3fe81f86a
add relativePath property to error object in order to play nicely with gulp-notify
2015-12-18 10:35:52 -08:00
Michael Mifsud
33a8a4fee9
Merge pull request #358 from xzyfer/fix/empty-file
...
An empty Sass file should produce an empty CSS file
2015-10-26 01:34:12 +11:00
Michael Mifsud
623eebc2c7
Merge pull request #359 from xzyfer/fix/dirty-tests
...
Test runner should clean up after itself
2015-10-26 01:32:43 +11:00
xzyfer
57f8c6d7ea
Use LibSass' pre-formatted error messages
2015-10-26 01:20:58 +11:00
xzyfer
3b30b8a444
Test runner should clean up after itself
...
We don't remove generated files between tests which results in
false positives when asserting if a file was created. This was
noticed when creating the test cases for #358
2015-10-05 15:14:57 +11:00
xzyfer
f8a75e6adf
An empty Sass file should produce an empty CSS file
...
Currently if the input file is blank we bail out early, returning
the input file object. This causes gulp to simply copy the input
Sass file. We instead need to rewrite the file extension to .css.
Fixes #352
2015-10-05 15:09:26 +11:00
xzyfer
16d4efed16
Use node-sass@3.4.0-beta
2015-09-21 22:05:47 +10:00
Martin O'Connor
9cb5f1cb5c
Modify sourcemap paths of imported files relative to file.base instead of relative to file, if a different base is specified.
2015-07-30 12:33:15 -04:00
Sam Richard
2a4f945da9
Add test for globbed files
...
Resolves #282
Resolves #278
2015-07-15 11:00:56 -07:00
Bogdan Chadkin
38e3c361f1
Fixed sourcemaps with different file.base
2015-07-12 22:32:17 +03:00
AJ Ostrow
7f6605e433
check contents length for empty file
2015-06-10 17:45:12 -04:00
Sam Richard
cff205b013
Add file name and line:column to error test
2015-05-10 05:27:08 -04:00
Thomas Jaggi
bdb05ca910
Add test case with gulp-sourcemaps and autoprefixer
2015-05-09 12:12:13 +02:00
David Manning
9b69aaa2dc
Merge pull request #228 from Snugug/2.x-datastream
...
2.x datastream
2015-04-01 16:59:50 -07:00
Sam Richard
ad6e6e4ddd
Tests for file rename and file contents change
2015-04-01 11:07:33 -04:00
Sam Richard
5b8d4eb319
Nope, shouldn't be , should be file name
2015-03-31 16:26:47 -04:00
Sam Richard
bea198e545
Updated Tests
2015-03-31 15:56:18 -04:00
Vincent Prouillet
5c7777fda9
Rebase on top of 2.x
2015-03-31 15:44:22 +01:00
Vincent Prouillet
de6af93958
Add a sass file to the inheritance test
2015-03-31 15:36:23 +01:00
Vincent Prouillet
9c0e76fc8b
Add tests for sass+scss syntax
2015-03-31 15:36:23 +01:00
Sam Richard
140c1ebecf
Test should be that error is there, not that it is start of string
2015-03-30 08:11:00 -04:00
Sam Richard
c1d2696a3b
Sync tests
2015-03-26 19:40:09 -04:00
Sam Richard
a096e3cfb0
Updated main to coding standards
2015-03-24 05:53:01 -05:00
Sam Richard
73b945367b
Sourcemap Tests
2015-03-24 04:41:16 -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