Skip to content

Not working in Edge 18 #329

@JFGHT

Description

@JFGHT

I'm checking the compatibility across different web browsers for my app and I found out that Vuexfire is not working on the last version of Microsoft Edge.

The error I'm getting is script1028 expected identifier string or number only by writing the actions:

bindRef: firestoreAction(({ bindFirestoreRef }, { name, ref }: Reference): void => {
  bindFirestoreRef(name, ref);
}),

unbindRef: firestoreAction(({ unbindFirestoreRef }, { name }: Reference): void => {
  unbindFirestoreRef(name);
}),

I'm also trying to track down what is the part of code that is causing the trouble so I could add some babel polyfill or something but the logs are not so helpful.

Edit:

Looks like it was about WeakMap, acording to Vuexfire docs.

I'm trying this:

['@vue/app', {
  polyfills: [
    'es6.weak-map',
  ],
}],

Cannot make it work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions