Doenet / DoenetTools

https://www.doenet.org/
15 stars 29 forks source link

Bug: Prerender activity button broken in Firefox #1763

Open dqnykamp opened 1 year ago

dqnykamp commented 1 year ago

The prerender activity button works fine in Chrome. However, in Firefox, it gives the error:

SyntaxError: import declarations may only appear at top level of a module

This is presumably due to Firefox not supporting es6 web workers and we haven't compiled the prerender activity web worker down to cjs.

Lyanthropos commented 1 year ago

This thread (link), has updates on the subject of firefox support. Promisingly the assigned made changes two hours ago...

dqnykamp commented 1 year ago

Yeah, I've been keeping on eye on that progress since we moved core to a web worker last year. They will eventually roll that out!