would be cooler to check for all possible variants with `require.extensions`.