You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
397 B
12 lines
397 B
const sass = require('sass');
|
|
|
|
module.exports = {
|
|
render: (opts, callback) => {
|
|
// sass wants its arguments to come from the same Realm as itself
|
|
// bridgeJson and bridgeFn are added via patch-package to make this possible
|
|
sass.render(sass.bridgeJson(opts), sass.bridgeFn(callback));
|
|
},
|
|
renderSync: () => {
|
|
throw new Error('sass-wrapper - renderSync not supported');
|
|
},
|
|
};
|
|
|