Closed
Description
Repro can be found in this PR, you can check out complete output in my comment here.
Basically what I see are things like some kind of scope object gathering properties like
- ASSUME_ES5
- ASSUME_NO_NATIVE_MAP
- ASSUME_NO_NATIVE_SET
- getGlobal
- SYMBOL_PREFIX
- initSymbol
- Symbol
- ... and others.
I understand that this can be disabled with language_out: 'ECMASCRIPT_2015'
, but I'm wondering why this is not added in CJS case but is added for ESM? Could this be prevented altogether in the plugin itself? Without adding extra config like the mentioned language_out
?
cc @TrySound
Metadata
Metadata
Assignees
Labels
No labels