GoScrobble/web/node_modules/import-cwd/index.js

6 lines
204 B
JavaScript

'use strict';
const importFrom = require('import-from');
module.exports = moduleId => importFrom(process.cwd(), moduleId);
module.exports.silent = moduleId => importFrom.silent(process.cwd(), moduleId);