* add transform-class-properties to stage 3, set spec mode to default * update readme with examples; use `buildUndefinedNode()`; change behavior to always define both static and nonstatic class properties regardless of spec/loose mode; update tests
12 lines
265 B
JavaScript
12 lines
265 B
JavaScript
export var MyClass = function MyClass() {
|
|
babelHelpers.classCallCheck(this, MyClass);
|
|
};
|
|
MyClass.property = value;
|
|
|
|
var MyClass2 = function MyClass2() {
|
|
babelHelpers.classCallCheck(this, MyClass2);
|
|
};
|
|
|
|
MyClass2.property = value;
|
|
export { MyClass2 as default };
|