detect require.resolve as dependency
new build