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

Esbuild failing with missing import #214

Open
wooly opened this issue Jul 30, 2024 · 1 comment
Open

Esbuild failing with missing import #214

wooly opened this issue Jul 30, 2024 · 1 comment

Comments

@wooly
Copy link
Contributor

wooly commented Jul 30, 2024

Hi there

We've recently switched from using webpack to esbuild and have run into issues with importing tinysort.

It appears that when using esbuild, importing tinysort as the default import results in an empty object:

import tinysort from 'tinysort';

console.log(tinysort);
Screenshot 2024-07-30 at 10 45 32 pm

Any ideas what might be causing this?

Thanks!

@chaskett
Copy link

@Sjeiti any chance you could help with this?

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