When importing from a multi-export module, you need to wrap things in braces, which enables convenient syntax for single-export modules. Why? Have single-export modules in npm been counted? Are there more than multi-export modules?
I’m guessing that single-export modules will usually export functions, right? Thanks! Axel -- Dr. Axel Rauschmayer a...@rauschma.de home: rauschma.de twitter: twitter.com/rauschma blog: 2ality.com
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss