silencesys/silentbox

IE11 breaking when silentbox esm packaged into app.js in Nuxt

maskott opened this issue · 1 comments

I am having trouble with what seems to be a javascript error originating in silentbox.

I am using silentbox in a Nuxt based project and it works great, except in Internet Explorer 11. When I test in IE11, I see a javascript error in the console like so:

Screen Shot 2021-02-26 at 12 37 08 AM

When I inspect the referenced area in app.js I see:

Screen Shot 2021-02-26 at 12 43 35 AM

I was not sure if this was because of my Nuxt setup, so I made a very simple example to see if I still have the error. My code is located here https://github.com/maskott/silentbox-test and you can see the example live at https://truthful-dad.surge.sh/ (working fine in Chrome, but breaking in IE11).

Thank you for any light you may be able to shed on this issue!

Hello, SilentBox is not meant to be used in IE11 as the official support ended in January 2016, sorry for that.