Are you creating your plugins in the Figma’s internal directory, like this person?
If so, you shouldn’t do that. You can put them anywhere you want on your computer.