-
-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Labels
Description
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.