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

Exceptional performance of namespace import object values #5403

Open
XiSenao opened this issue Feb 26, 2024 · 1 comment
Open

Exceptional performance of namespace import object values #5403

XiSenao opened this issue Feb 26, 2024 · 1 comment

Comments

@XiSenao
Copy link

XiSenao commented Feb 26, 2024

Rollup Version

4.12.0

Operating System (or Browser)

Mac

Node Version (if applicable)

v18.12.0

Link To Reproduction

https://stackblitz.com/edit/rollup-repro-5w6buu?file=src%2Fmain.js

Expected Behaviour

I personally feel that properties should not be accessed in the prototype chain.

Case 1:  undefined true
Case 2:  undefined true

Actual Behaviour

Case 1:  undefined true
Case 2:  Name: B false
@Simon-He95
Copy link

It seems that ImportNamespaceSpecifier should be used and the data should be shallowly copied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants