-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed as not planned
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Numerous issues pointed to from #32083 have people running in environments where it's not safe to emit the __esModule
property for whatever reason.
Instead of adding a flag, we could just emit (typeof exports !== 'undefined') && Object.defineProperty(...
Thoughts?
bdero, Ciantic, pocesar, makinori, kirchet and 16 morejohnsoncodehk and makinori
Metadata
Metadata
Assignees
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScript