Skip to content

Closure compiler artifacts left in the minified bundle #56

Closed
@Andarist

Description

@Andarist

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

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions