Nicolò Ribaudo 8732dd39c6
Compile static blocks without the intermediate priv field step (#13297)
* Remove ordering constraints for `static-blocks` plugin

* Handle static blocks directly in `helper-create-class-features-plugin`
2021-05-14 11:35:59 -04:00

20 lines
316 B
JavaScript

var _bar = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("bar");
class Foo {}
Object.defineProperty(Foo, _bar, {
writable: true,
value: 21
});
(() => {
Foo.foo = babelHelpers.classPrivateFieldLooseBase(Foo, _bar)[_bar];
Foo.qux1 = Foo.qux;
})();
Foo.qux = 21;
(() => {
Foo.qux2 = Foo.qux;
})();