mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
f196c9feb8
* lavamoat - run build system in lavamoat * lavamoat/allow-scripts - add missing policy entry * update viz and lavvamoat * trim policy file * bump viz * prue policy override * regen policy file * Update package.json * Update package.json * Apply suggestions from code review Co-authored-by: kumavis <kumavis@users.noreply.github.com> * update policy, remove redundant patches * use yarn setup in CI Co-authored-by: kumavis <aaron@kumavis.me> Co-authored-by: kumavis <kumavis@users.noreply.github.com>
13 lines
397 B
JavaScript
13 lines
397 B
JavaScript
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');
|
|
},
|
|
};
|