You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's actually #3072, not 3078. I know what the problem is, but unfortunately I can't give you a patch as the file needs too be rebuilt.
It has to do with how webpack handled the Symbol class in input/tex/Symbol.js, and requires that we change the name of that class to something else so that it doesn't clash with the default Symbol class in javascript. Webpack makes the imported Symbol a global variable, overriding the default one, but it also references Symbol in its startup code, leading to the error you are seeing (when it is minified). This only affects the packing of ESM modules because the imports are handled differently there. I thought I had worked around it, but it only worked when input/tex/Symbol.js was imported directly, not when it is a shared library, as it is in TeX packages like mathtools. This also affects several other packages as well.
The fix requires a new release, but I can't do that until we are a little father with the code cleanup PRs.
Not sure if it's related to #3078.
While investigating another issue, I ran into a crash from mathtools when using v4 client-side.
Minimal example:
The console logs out:
The text was updated successfully, but these errors were encountered: