Exports object is not defined (CoffeeScript)


#1

Hey everyone.

I use CoffeeScript. According to this section of docs I can export anything using exports object:

exports.Lists = ListsCollection 'Lists'

It doesn’t work for me. Both ecmascript and modules packages are installed:

$ cat .meteor/versions | grep -E '(ecmascript|modules)'
ecmascript@0.4.3
ecmascript-runtime@0.2.10
modules@0.6.1
modules-runtime@0.6.3

In meteor shell I try to check exports object, but it’s undefined:

> exports
ReferenceError: exports is not defined
     at [object Object]:1:-61
     ...

Please, what am I doing wrong?