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

allow user to specify how imports should be named #3

Open
Rich-Harris opened this issue Aug 18, 2014 · 2 comments
Open

allow user to specify how imports should be named #3

Rich-Harris opened this issue Aug 18, 2014 · 2 comments

Comments

@Rich-Harris
Copy link
Contributor

i.e. instead of this...

define(['fs'],function(__imports_0){
  var rm = __imports_0.unlink;
});

...perhaps this:

define(['fs'],function(fs){
  var rm = fs.unlink;
});
@jayphelps
Copy link

The latter looks like it is the default now. Is this configurable?

@Rich-Harris
Copy link
Contributor Author

Not at present - is this behaviour causing problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants