getting webpack to to leave `require.resolve` alone (as far as I can tell it _never_ behaves like node's builtin one, which is the behavior I want for everything not a local `require`) is painful and this is spotty. Seems to work fine, tho