Fix module names in Windows
Use `url.resolve()` to resolve module names

Since module names are URL path-like, this uses the `url` module to resolve the names and handles issues with Windows compatibility.