How to get meteor 1.2 (in ES2015) to transpile collections code


I want the transpiled code to look like the documentation, e.g.,

      update: function () { 
        return true; 

When I transpile the original JS, it turns the anonymous function into a named function

  update: function update() {
    return true;

Is this an issue? If so, how to work around?


It’s not an issue at all - why does it matter what the transpired code looks like?


Many thanks.

When the transpiled code looked different from the meteor docs about collections,
I thought my ES2015 might be malformed or incorrect