Skip to content

Commit 45770cf

Browse files
committed
fix importing nested sass
1 parent c07f2e7 commit 45770cf

File tree

1 file changed

+1
-1
lines changed
  • external-compile-sass/definitions

1 file changed

+1
-1
lines changed

external-compile-sass/definitions/sass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ F.file('*.scss', function(req, res, is) {
3030
});
3131

3232
F.onCompileStyle = function (filename, content) {
33-
return sass.renderSync({ data: content, outputStyle: 'compressed' }).css.toString('utf8');
33+
return sass.renderSync({ file: filename, data: content, outputStyle: 'compressed' }).css.toString('utf8');
3434
};

0 commit comments

Comments
 (0)