Kolibri: Syntax error in IE11 on builds from 'develop' branch

Created on 1 Jun 2021  ·  3Comments  ·  Source: learningequality/kolibri

Observed behavior

Syntax error impeding develop Kolibri to load in IE11.

Errors and screenshot

Win7 (start)  Running  - Oracle VM VirtualBox_024

Expected behavior

We still need to support IE11, so need to cater to its _idiosyntaxies_ 🤷🏽‍♀️

Context

  • Kolibri version: exe asset built from the develop branch
  • Operating system: Windows 7
  • Browser: IE11

cc @rtibbles

P0 - critical bug ie11

All 3 comments

This is almost certainly a regression from the babel upgrade. Will fix.

Looks like the specific syntax error is being caused by an untranspiled class definition.

There are two issues here, seemingly - one is that fuse.js by default exports a non-transpiled ES Module, which was being imported but not transpiled. The other is that our new core-js configuration was incorrect, so Object.assign and other vital polyfills were not being imported.

Was this page helpful?
0 / 5 - 0 ratings