swc
swc copied to clipboard
refactor(es/module): SystemJS
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