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

Requiring a relative file in index.js with same name as library doesn't work #38

Closed
vjpr opened this issue Sep 27, 2012 · 2 comments
Closed
Labels

Comments

@vjpr
Copy link
Contributor

vjpr commented Sep 27, 2012

# rpc/index.js

//= require ./rpc

# rpc/rpc.coffee

console.log 'Hello'

rpc.coffee is not included.

Renaming rpc.coffee to rpc1.coffee and updating directives works.

The issue is case-insensitive too.

@vjpr
Copy link
Contributor Author

vjpr commented Oct 2, 2012

Also occurs in the following situation:

# api/index.coffee
#= require ./clientApi

---

# api/src/api.coffe
# Foo

---

# api/src/extensionApi.coffee
#= require ./api

When using #= require api/src/extensionApi, clientApi is included but shouldn't be.


It behaves correctly if I move extensionApi to api/extensionApi and use #= require ./src/api.

ixti added a commit that referenced this issue Oct 12, 2012
@ixti
Copy link
Collaborator

ixti commented Oct 13, 2012

Fixed. The problem was caused by hike-js.

@ixti ixti closed this as completed Oct 13, 2012
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