Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Self referencing default->named re-export doesn't work #629

Closed
alippai opened this issue Oct 16, 2018 · 2 comments
Closed

Self referencing default->named re-export doesn't work #629

alippai opened this issue Oct 16, 2018 · 2 comments
Labels

Comments

@alippai
Copy link
Contributor

alippai commented Oct 16, 2018

A.js

export const A = 'A';

B.js

import { A } from './A';
export { default as Letter } from './B';
export default A;

C.js

import { Letter } from './B';
console.log(Letter);

Originally posted by @alippai in #621 (comment)

@alippai alippai changed the title Self referencing default -> re-export doesn't work Self referencing default->named re-export doesn't work Oct 16, 2018
@alippai
Copy link
Contributor Author

alippai commented Oct 16, 2018

Created a test case for it: #628

@jdalton jdalton added the bug label Oct 16, 2018
@jdalton
Copy link
Member

jdalton commented Oct 16, 2018

Moved to #628.

@jdalton jdalton closed this as completed Oct 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants