So unfortunately many customers using my app are still on IE9 (you know the drill - big companies not allowing updates and all that). I thought meteor is including the needed polyfills so my app runs properly on IE9 but apparently not - or I am doing something wrong.
One of my packages (Aldeed Simple Schema to be exact) seems to use a
const instead of a
var in some clientside code - IE9 therefore throws a syntax error because it can’t handle
const. Another problem is the “popular”
console.log is not defined error. If I have any console.log()s in my code, IE9 behaves very weird until I open the developer tools at least once - then it all works as
console.log is defined by then.
console.log stuff: I tried
npm installing this console-polyfill but I don’t know how to force meteor to load it on the client before any other scripts are loaded?!
EDIT: The problem originates from here. This file is included on the client as well and, as said, usage of
const results in a syntax error.
I really need to get this to work. Please help me with this stupid legacy browser!
thanks in advance,