Figma plugin with JSZIP

What are your build settings for the bundler you are using? Also if you are trying to use it on the plugin backend, it’s a limited environment so it might not work, so try using it in the plugin UI and then pass the data to the backend.