figma-linux
figma-linux copied to clipboard
Cannot import plugins if filenames contain dashes (`-`)
When importing a development plugin whose manifest contains something like
"main": "dist/plugin/figma-plugin.js",
the import process fails with Filename "dist/plugin/figma-plugin.js" not allowed, due to the filename not matching the regex on this line:
https://github.com/Figma-Linux/figma-linux/blob/b33dd1d3f52ef4c71711c69ab59a4cff2ddaef52/src/main/ExtensionManager.ts#L441
It's not clear to me whether this limitation is inherited from Figma itself, or it's an artifact of Figma Linux implementation.
@cairomassimo this looks like it's a bug; this works in the native Windows Figma app