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
Nice! I think this issue comes up a lot when mixing Webpack with CommonJS and ESM. From my understanding, it's really hard to fix on the module author side, so I think your workaround is the best I've seen so far!
I'm closing this, since it seems resolved, but can open again if there's something more that can be done on the module side!
If I bundle using Webpack and I
import
this library, when I callfindPath
on an instance ofPathFinder
I get the following error:in the
dijkstra.js
fileThe text was updated successfully, but these errors were encountered: