Syllabus/themes/piratecare/node_modules/import-cwd/index.js

6 lines
204 B
JavaScript
Raw Normal View History

2020-03-05 04:10:52 +00:00
'use strict';
const importFrom = require('import-from');
module.exports = moduleId => importFrom(process.cwd(), moduleId);
module.exports.silent = moduleId => importFrom.silent(process.cwd(), moduleId);