-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
define
replaces property access incorrectly
#7598
Comments
I don't think oxc define output is wrong, var define_OBJ_default = { process: { env: { SOMEVAR: "foo" } } };
console.log(define_OBJ_default.process.env.SOMEVAR); oxc output console.log('foo');\n |
Ok, the output looks like a constant eval, but actually is a but, lol. |
Ah, sorry the esbuild try link should be this one (changed oxc replaces |
Slightly related: I noticed the reference behavior difference (#7641). |
I made a test case as that was easier than explaining in text: #7597
esbuild try
The text was updated successfully, but these errors were encountered: