michaelficarra/commonjs-everywhere — pull request #78 by piranha (2013-08-15 18:32:36+00:00)
Title: fix canonicalisation of paths

Before that when I were doing `cjsify -r src main.coffee -o build/out.js`, everything would be normal except for the root require, which would look like `require('/../main.coffee')`. This change fixes the problem.