fix resolving path in node build

using parentRequire will resolve custom paths and mappings propperly