Currently options are leaking between compilation runs. This is most
evident when using an array of importers. The array is shallow copied
internally, and the children of that array are wrapped by Node Sass.
When the next file is compiled the options are shallow copied once
again however this time the importer array contains the wrapped
importers not the original ones.
Instead of shallow copying with `Object.assign` this patch does a
full deep clone. Node Sass should also do this to prevent mutating
the options being passed in.
Related sass/node-sass#1168
Fixes#467 (probably)
Some of our dev dependencies are at least a major version behind.
This require update required updating our .eslintrc config because
some of the rules we used have been removed.
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
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
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
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.