I'm trying to use Sass.js, in the browser, in an angular app.
Reading the docs, there is in the getting started the section "Using Sass.js with a module loader" that says to load
var Sass = require('sass.js/dist/sass');
the browser outputs
"Uncaught ReferenceError: __dirname is not defined
at sass.js:28"
Is it possible to use the sass.js this way?