modul8
modul8 copied to clipboard
NO LONGER MAINTAINED - browserify is too similar and is better (see issues)
It must not write anything into node's installation path, except during install process itself: ``` $ modul8 build/build.js -z fs.js:338 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: EACCES, permission denied '/opt/node-v0.8.11/lib/node_modules/modul8/deputy.json'...
For this to be a viable code bundler in the future the resolver/analyzer part of modul8 needs some **serious work**. The problem that stands before us is because of the...
Code like [ref](https://github.com/clux/modul8/blob/master/lib/resolver.coffee#L6) `reqStr[0...2] is './' or reqStr[0...3] is '../'` will break in windows because of `/` vs `\\`. One should favor using methods from `path` like [`path.relative`](http://nodejs.org/docs/v0.6.5/api/path.html#path.relative)