Hello,
Thank you for this great plugin. I am using for a nextjs react application but I have bumped into an error I can't get rid off unless I comment the following line:
|
var fileApi = !!window.File; |
Otherwise, when I try to build my application I get the following error:

Removing the line makes the problem go away and the component keeps working fine so I am not sure if you really need it or you could avoid calling window there.
Thank you!
Alberto
Hello,
Thank you for this great plugin. I am using for a nextjs react application but I have bumped into an error I can't get rid off unless I comment the following line:
bs-custom-file-input/dist/bs-custom-file-input.js
Line 58 in a4cb893
Otherwise, when I try to build my application I get the following error:
Removing the line makes the problem go away and the component keeps working fine so I am not sure if you really need it or you could avoid calling window there.
Thank you!
Alberto