Simple example to export as png or svg without REST but using plugin

Hi I tried different ways to export nodes as png.

GitHub - NidhinCoder/FigmaExport: An attempt to export layers as svg or png from figma is an example project.

In my working branch, I am getting error. I changed the first ts to invoke as “main”: “ui.ts”.
no compile error. But while running, I am getting some strange errors. :frowning:

Looking for some guidances…


If you see the tooltip, it is generated from a es build artifacts, I have no idea what it is…