Hello,
I am using Snap.svg-cjs and I am trying to import mina: import Snap, { mina } from 'snapsvg-cjs'; .
However, mina is not defined in this case. However, if I then use mina defined on window: import Snap from 'snapsvg-cjs'; const mina = window.mina;, then I am able to use it. Is this a problem with the package?
Cheers,
Jakub
Hello,
I am using Snap.svg-cjs and I am trying to import mina:
import Snap, { mina } from 'snapsvg-cjs';.However, mina is not defined in this case. However, if I then use mina defined on window:
import Snap from 'snapsvg-cjs'; const mina = window.mina;, then I am able to use it. Is this a problem with the package?Cheers,
Jakub