-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
v0.14.27 breaks bundle with outdent
module
#2103
Comments
This is a problem with that package, not with esbuild. You are not supposed to use both CommonJS module exports and ES module exports in the same file. When you reference
|
I agree that |
Most warnings for files inside |
I'm going to close this issue since I consider this case to basically be undefined behavior, and I think esbuild's output here is reasonable. The correct fix here is for the package author to not do this. |
What's your opinion on this? |
I don't think that should be done because |
How about rename it to something like |
Should be caused by #2059
This from
outdent
module will override themodule.exports
.Reproduce repo https://github.com/fisker/esbuild-0-14-27-issue
The text was updated successfully, but these errors were encountered: