MinimongoEngine is not a constructor

Hi guys, I’m trying to work with Easy Search package

I get this error MinimongoEngine is not a constructor on the client and there is no error on the server. I did everything as in the leaderboard example but still it doesn’t seem to work.

Does anyone worked with this package? Do you know why this may happen?
Thank you all in advance.

Here are the code examples
This is my /imports/collections/Email.js


import { Mongo } from 'meteor/mongo'
import { check, Match } from 'meteor/check'

Meteor.methods({
  // TODO: Perform checks
  'emails.insert': function ({name, to, subject, html, attachments}) {
    check([name, to, subject], [String])
    return Emails.insert({
      createdAt: new Date(),
      ownerId: this.userId,
      name,
      to,
      subject,
      html,
      attachments
    })
  },
  'emails.update': function ({emailId, name, to, subject, html, attachments}) {
    return Emails.update(emailId, { $set: {
      createdAt: new Date(),
      ownerId: this.userId,
      name,
      to,
      subject,
      html,
      attachments
    }})
  },
  'emails.remove': function (emails) {
    return Emails.remove({_id: {
      $in: emails
    }})
  }
})

export const Emails = new Mongo.Collection('emails')

And this is my EmailsIndex.js


import { Emails } from './Emails.js'
import { Index, MinimongoEngine } from 'meteor/easy:search'

export const EmailsIndex = new Index({
  engine: new MinimongoEngine(),
  collection: Emails,
  fields: ['name']
})