index.js 208 B

12345
  1. 'use strict';
  2. const resolveFrom = require('resolve-from');
  3. module.exports = moduleId => resolveFrom(process.cwd(), moduleId);
  4. module.exports.silent = moduleId => resolveFrom.silent(process.cwd(), moduleId);