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

Ignored option #2

Open
kl3ryk opened this issue Jul 28, 2014 · 1 comment
Open

Ignored option #2

kl3ryk opened this issue Jul 28, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@kl3ryk
Copy link

kl3ryk commented Jul 28, 2014

When using r.js include and name option together include is ignored eg.:

rjs({
  "include": "foo",
  "name": "bar"
});

and include will be ignored.

@mmacaula
Copy link

mmacaula commented Oct 2, 2014

I'll piggy back on this and say that that include is being automatically set from the name and this can be incorrect in certain circumstances. I believe the offending line is here.
For example, if my name is "proj/main.js" this line adds an include of 'main' which doesn't exist and then causes the build to fail. :(

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

3 participants