Resolves and concatenates CommonJS module dependencies for use in the browser.