-
Notifications
You must be signed in to change notification settings - Fork 16
relative paths question #23
Comments
Try a trailing slash in On Sun, Jan 13, 2013 at 2:28 PM, Eric Gjertsen notifications@github.comwrote:
Guillermo Rauch |
thanks, |
BOOM! On Sun, Jan 13, 2013 at 3:24 PM, Eric Gjertsen notifications@github.comwrote:
Guillermo Rauch |
Apologies to ask this support question here, but I didn't see anywhere else to ask. I cannot get browserbuild to work as described in the README. I am sure it's something basic I'm missing.
If I have files
b.js
andhithere.js
as described in the README (all, including the main, in a lib directory), and run browserbuild as described, the output I get looks like this:And I get an error trying to
require('hithere')
, since it was registered as 'lib/hithere.js'.I thought perhaps the base path needed to be provided, e.g.
browserbuild -m hithere -b lib ...
, but that doesn't work either as it registers it as '/hithere.js' .The only way I could get it to work is to run within the source dir, e.g.
cd lib && browserbuild -m hithere ...
.What am I missing? Thanks in advance.
Eric
The text was updated successfully, but these errors were encountered: