Description
On Windows CMD and GitBash, it seems path seperator often cause some error.
Test the following code, where ./test.scss
is any given valid scss
file in the same folder:
var sass = require('dart-sass');
var res = sass.renderSync({ file: './test.scss' });
console.log(res);
Then got:
In dart.Uri_parse
‘s body, insert a new line at the begining, uri = uri.replace(/\\/g, '/')
will work,
So this maybe a problem to be solved.