2017-05-28 00:38:50 +02:00
|
|
|
'use strict';
|
2017-08-14 05:01:11 +02:00
|
|
|
const resolveFrom = require('resolve-from');
|
2017-05-28 00:38:50 +02:00
|
|
|
|
2017-08-14 05:01:11 +02:00
|
|
|
module.exports = moduleId => resolveFrom(process.cwd(), moduleId);
|
|
|
|
module.exports.silent = moduleId => resolveFrom.silent(process.cwd(), moduleId);
|