swc icon indicating copy to clipboard operation
swc copied to clipboard

refactor(es/module): SystemJS

Open magic-akari opened this issue 1 year ago • 0 comments

Description:

SystemJS is totally different from CJS/AMD/UMD and I can't define a getter on exports because it uses the export() function. But I can use the same trick of class private field updater. I can use getter/setter defined bindings to simplify update expressions.

BREAKING CHANGE:

Related issue (if exists):

  • fix #4895
  • fix #5288

magic-akari avatar Jul 10 '22 06:07 magic-akari