This is not an issue. I just had a problem that I solved that I thought I would share my solution for with others in case they ran in to similar issues.
I am using esbuild and was importing Dropzone as usual...
import Dropzone from "@deltablot/dropzone";
However, I could not access any of the class methods such as Dropzone.createElement(). I was able to fix this through adding the following after the import statement.
import Dropzone from "@deltablot/dropzone";
globalThis.Dropzone = Dropzone;
There may be better ways to handle this but this got the job done for me.
This is not an issue. I just had a problem that I solved that I thought I would share my solution for with others in case they ran in to similar issues.
I am using esbuild and was importing Dropzone as usual...
However, I could not access any of the class methods such as
Dropzone.createElement()
. I was able to fix this through adding the following after the import statement.There may be better ways to handle this but this got the job done for me.