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

Issue using export * from .. #176

Closed
eigilsagafos opened this issue Jun 10, 2020 · 0 comments
Closed

Issue using export * from .. #176

eigilsagafos opened this issue Jun 10, 2020 · 0 comments

Comments

@eigilsagafos
Copy link

Hi, thanks again for the quick resolution to my first build issue. I have another one:

Building and running the following file when not explicitly accessing the foo property on things will produce an ReferenceError: foo is not defined error:

import * as things from './folders'
console.log(JSON.stringify(things))

The index file in folders look like this:

export * from "./child"

The index file in child look like this:

export { foo } from './foo'

And foo looks like this:

export const foo = () => { return 'hi there' }

I have added this under issue2 in the following repo: https://github.com/eigilsagafos/esbuild-import-bug

@eigilsagafos eigilsagafos changed the title Issue using export * as from .. Issue using export * from .. Jun 10, 2020
@evanw evanw closed this as completed in 3501112 Jun 11, 2020
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

1 participant