sass configured
This commit is contained in:
1 parent
c2e31ea175
commit
6a78380644
3424 files changed
+360558
-146
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
/*!
|
||||
* node-sass: lib/binding.js
|
||||
*/
|
||||
|
||||
var errors = require('./errors');
|
||||
|
||||
/**
|
||||
* Require binding
|
||||
*/
|
||||
module.exports = function(ext) {
|
||||
if (!ext.hasBinary(ext.getBinaryPath())) {
|
||||
if (!ext.isSupportedEnvironment()) {
|
||||
throw new Error(errors.unsupportedEnvironment());
|
||||
} else {
|
||||
throw new Error(errors.missingBinary());
|
||||
}
|
||||
}
|
||||
|
||||
return require(ext.getBinaryPath());
|
||||
};
|
||||
Reference in new issue
Block a user