Meteor-Community-Packages/meteor-schema-index

package breaks meteor app on IE9

Twisterking opened this issue · 4 comments

Hi there!

So unfortunately your package is breaking my Meteor app for IE9 (many of my customer still use IE9 - don't ask! big companies preventing updates and all that ...).

Problem is here: link to file
This file is included on the client as well and you are using const right there. IE9 can't handle const --> syntax error.
Any chance on fixing this?

best, P

I think what you are missing is:

Package.onUse(function (api) {
  api.use('ecmascript');
});

see here.

Both #7 and #9 provide solutions to this.

hey @aldeed, this is a big issue... any timeline for releasing the fix?

Released the fix with 1.1.1. Thanks