Created
October 25, 2018 22:59
-
-
Save danwbyrne/984f072bd0f59ff33cd24d9d2c4bf046 to your computer and use it in GitHub Desktop.
Const Dynamic Exports With Collisions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { bar } from './childTwo'; | |
const barInternal = bar; | |
export const foo = barInternal; | |
export const fizz = 'bang'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const barInternal = 'bar'; | |
export const bar = barInternal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export { foo } from './parent'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export { foo } from './childOne'; | |
export const parent = 'parent'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const s55 = 'bar'; | |
const bar = s55; | |
const fizz = 'bang'; | |
const sc1 = bar; | |
export const foo = sc1; | |
const fizz = 'bang'; | |
const parent = 'parent'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment