provision for passing options
support env == 'node'
ignore builtin modules in node.js env
update resolve-module