site/node_modules/workerpool/src/requireFoolWebpack.js
2024-10-14 08:09:33 +02:00

8 lines
296 B
JavaScript

// source of inspiration: https://github.com/sindresorhus/require-fool-webpack
var requireFoolWebpack = eval(
'typeof require !== \'undefined\' ' +
'? require ' +
': function (module) { throw new Error(\'Module " + module + " not found.\') }'
);
module.exports = requireFoolWebpack;