jrburke/r.js — Issue #122: Resolution of paths in build config vs mainConfigFile
Author: jrburke
Created: 2012-03-01 18:21:16+00:00
State: open

Right now all paths configs are resolved to absolute locations, but they need a reference URL. mainConfigFile uses the file location, or baseUrl if it is specified in the directory.

For paths in the build config file, it is best if baseUrl is **not** set, because that would be used for the project. So if there is no baseUrl, the current ref path is the current working directory. However, it should be changed to be the directory containing the build config file. For command line args, cwd is still correct.

Marking for 1.0.8, but may push this to 1.1 depending on 1.1 development pace.