Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use the symlinked virtual path instead of systems real path #66

Open
polarity opened this issue Apr 8, 2013 · 0 comments
Open

use the symlinked virtual path instead of systems real path #66

polarity opened this issue Apr 8, 2013 · 0 comments
Assignees
Labels

Comments

@polarity
Copy link

polarity commented Apr 8, 2013

when im trying to build an app with dependencies linked relative out of an symlinked directory, r.js uses the current absolute system path instead of the virtual path.

Folder Structure:

/
|-libraries
|    |-jquery
|    |-bootstrap
|    |-requirejs
|-web
|   |-www_app1
|   |-www_app2
|       |- webroot  -> /coding/app/myapp
|       |- lib -> /libraries/
|-coding
|    |-app
|       |-myapp
|            |-mycode.js
|            |-Gruntfile.js

building out of "/web/www_app2/webroot/" with a path set to an relative upper folder like "../lib/" wont work, because "grunt-requirejs" or "r.js" resolve the current dir as a absolute system path.

"../" in "/web/www_app2/webroot/" would go straight to "/coding/app/" instead of "/web/www_app2/"

@ghost ghost assigned asciidisco Apr 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants