It’s really easy though, and if you don’t like magic keywords maybe it’s a little more intuitive too.
const path = require('path');
And if something is the default export in it’s module, then you can use the
const Something = require('something').default;
I ran into this in a file that was outside the build path,