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
ReferenceError: Can't find variable: require_x #2858
Comments
is this still happening? |
I think mine is similar.
i have a case with if i hack and replace that with also tried seems to get stuck on its own generated code? per @Jarred-Sumner This is still a bug since at-least 0.7.x. |
Still a bug as of 0.8.1. Also, if i set package.json type to module, i get |
I'm having the same issue as @pcfreak30 also on 0.8.1 |
A number of issues are connected to this
Looks like #6168 (comment) got a workaround while we wait for a solution. |
I also get this in bun |
This was fixed in a recent release of Bun. |
It appears if an import is tree-shaked to not exist, the
require_x()
function is still included.The text was updated successfully, but these errors were encountered: