Skip to content

v2.0.0

Compare
Choose a tag to compare
@asapach asapach released this 19 Aug 20:06
· 24 commits to master since this release

Potential breaking change: functions are now converted into a function expression and exported variable by the same name. Example:

export default function foo() {
  return null;
}

Becomes:

var foo = function foo() {
  return null;
};
export { foo as default };

And for named exports:

export function foo() {
  return null;
}

Becomes:

var foo = function foo() {
  return null;
};

export { foo };