medikoo/modules-webmake — Issue #10: Programmatically api does not compile relative paths correctly
Author: sokra
Created: 2012-03-03 12:58:19+00:00
State: open

``` javascript
webmake("./index.js", function(err, source) { ... }); // does not work
// workarounds:
webmake("../mydirname/index.js", function(err, source) { ... }); // does work
webmake(__dirname + "/index.js", function(err, source) { ... }); // does work
```

The first one compiles to stuff like this: (missing 'i')

``` javascript
".": {
// ...
"ndex.js": function(...) { ... }
})
("./ndex");
```