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

6 lines
204 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +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);