-
Notifications
You must be signed in to change notification settings - Fork 7
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
Using require() statements which refer to vendor/bower/ don't work. Possibly incompatibility with lineman-browserify? #6
Comments
Hey Eric, thanks for opening all these tickets! Apologies I won't have a chance to look at them until Scotland JS is behind me tomorrow On Thu, May 8, 2014 at 11:51 PM, Eric Higgins [email protected]
|
No problem, Justin! It's worth noting that if I just copy these files from |
Oh you probably just need to specify vendor/bower as a loadPath for browserify. Check the result of On Thu, May 8, 2014 at 11:54 PM, Eric Higgins [email protected]
|
Here's the output:
I don't see |
Yes I do. The same concept is called a load path in similar tools On Fri, May 9, 2014 at 12:22 AM, Eric Higgins [email protected]
|
Ok. Is there a "right" way to add |
Why yes, there is a right way! It might look like this: browserify: {
common: {
options: {
aliasMappings: lineman.config.application.browserify.common.options.aliasMappings.concat({
cwd: "vendor/bower",
src: "**/*.{js,coffee}",
dest: ""
})
}
}
} |
(Keeping this open to verify it helps you actually fix your issue) |
Thanks for the help! That seems to have helped somewhat, but it also appears to include all JS files that exist under
|
Yeah indeed. This just isn't a problem we've solved yet. Honestly we're a bit flummoxed that bower sucks down the universe On Sat, May 10, 2014 at 8:06 PM, Eric Higgins [email protected]
|
I basically copied the example in the README and
lineman build
failed:app/js/entrypoint.coffee
config/files.js
The text was updated successfully, but these errors were encountered: