Closed larsgw closed 7 years ago
Apparently you can do both, will test that soon: http://2ality.com/2014/09/es6-modules-final.html#having-both-named-exports-and-a-default-export-in-a-module
What a roller-coaster this is: I can't make (consistent) shortcuts named Cite.parse
, but I can make one named Cite.normalise
and a respective async version.
On second thoughts, this isn't a great idea:
src/parse/input/index
makes it anexport default
, which isn't really how it's supposed to be, and potentially breaking codeparse
andparseAsync
?