import baz from './foo/baz'; export default function Foo () {} Foo.baz = baz;