I want to use this plugin with sass, not node-sass, but the line with require('node-sass') throws an error, before I have the chance to gulpSass.compiler = require('sass');.
The error message says:
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 14.x
This PR should fix the issue transparently.
I would also prefer not to include the node-sass lib as a dependency, maybe a peer-dependency.
I want to use this plugin with
sass
, notnode-sass
, but the line withrequire('node-sass')
throws an error, before I have the chance togulpSass.compiler = require('sass');
. The error message says:Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 14.x
This PR should fix the issue transparently.
I would also prefer not to include the
node-sass
lib as a dependency, maybe a peer-dependency.