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

Add named exports #1024

Merged
merged 2 commits into from Jan 9, 2017
Merged

Add named exports #1024

merged 2 commits into from Jan 9, 2017

Conversation

bspaulding
Copy link
Contributor

@bspaulding bspaulding commented Dec 19, 2016

Would love to do this:

import { Map, Record } from 'immutable';

but at the moment, that's not spec compliant, since immutable only exports a default object.

Thoughts? Pardon if this has been discussed before and I just missed it. Thanks!


Originally opened as #991, which got closed without discussion. Tests should be passing now.

I've checked in the rebuilt dist changes, as the contributing guide says to do, but this is creating a merge conflict. Please advise if I should revert.

@wokalski
Copy link
Contributor

wokalski commented Dec 20, 2016

Could you try the following:

  1. Add https://github.com/facebook/immutable-js.git as your upstream.
  2. Rebase your changes on top of master branch in the upstream
  3. Build dist
  4. Push it here

It fails because your changes are applied on top of an old commit.
zrzut ekranu 2016-12-20 o 21 13 37

Would love to do this:

```javascript
import { Map, Record } from 'immutable';
```

but at the moment, that's not spec compliant, since immutable only exports a default object.

Thoughts? Pardon if this has been discussed before and I just missed it. Thanks!
@bspaulding
Copy link
Contributor Author

bspaulding commented Dec 21, 2016

Ah, duh. :) Updated.

@wokalski
Copy link
Contributor

wokalski commented Dec 22, 2016

Looks good to me.

@lacker please verify and :shipit: .

@lacker lacker merged commit c27716a into immutable-js:master Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants