Hi,
I add file saver in the head tag, as follow
<script src="~/Scripts/FileSaver.min.js"></script>
And in my javascript just try to call following line of code
saveAs(new Blob([buffer], { type: "application/octet-stream" }), "test.xlsx");
and nothing works. I try to console.log(saveAs) it return empty function. It happen for release2.0. For release1.3.8 this issue does not occuer
I have the exact same issue, an empty function is being exported from 2.0.0 now. I call it and nothing happens, no errors either. I believe it worked before, because I remember having tested this. Rolling back to 1.3.8 indeed fixed it.
Please read the documentation of how to use FileSaver:

@azhaziqgoh Has your issue been resolved and can be closed?
@Ruffio my problem is that I'm using Ecma 6 import syntax instead of require, and that gives the error presented at 2.0.0
Why is the ECMA6 import syntax not supported?
This problem appears fixed in 2.0.1 to me.
Seems fixed already. Closing this
Most helpful comment
@Ruffio my problem is that I'm using Ecma 6 import syntax instead of require, and that gives the error presented at 2.0.0