added require.resolve