TIL: Synchronous import in ES-Modules using module.createRequire (Node)
I've been looking for a way to inject a configuration file like process.cwd()+"/my-config.js" into a...
Tags: node, javascript