meteor-collection-helpers
meteor-collection-helpers copied to clipboard
object.method is not a function
Here is sample of my code:
threads() {
return Threads.find().fetch()
}
The way i use it:
const threads = Documents.findOne().threads()
This works fine in development, but fails in production
Error:
n.revision is not a function
While investigating documents prototype i found that function name gets minified in production bundle.
Development:
response : function response() { name: "response" }
Production:
response : function e() { name: "e" }
Your package is great. But sadly it's not working for me. Any thoughts how to solve it?
Hey @Undeadlol1 are you sure that it's a bug with this package? If you can provide a link to a repo with a simple reproduction app I can run I'm happy to take a look