install gulp to process code
This commit is contained in:
parent
24f6606c2c
commit
b6a3900ee2
1651 changed files with 253427 additions and 39 deletions
18
node_modules/liftoff/lib/needs_lookup.js
generated
vendored
Normal file
18
node_modules/liftoff/lib/needs_lookup.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
'use strict';
|
||||
|
||||
var isPlainObject = require('is-plain-object').isPlainObject;
|
||||
|
||||
function needsLookup(xtends) {
|
||||
if (typeof xtends === 'string' && xtends[0] === '.') {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (isPlainObject(xtends)) {
|
||||
// Objects always need lookup because they can't be used with `require()`
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
module.exports = needsLookup;
|
||||
Loading…
Add table
Add a link
Reference in a new issue