How to split plugin code in different files

Hi folks,
I’ve built a Figma Plugin and all the code is in a single code.ts file (which is more than 960 lines!).
Is there a way to split the javascript code into more than one file and keep the code well organized?

Thanks in advance!

Here you go Libraries and bundling | Plugin API

1 Like

Thank you for your feedback @Pavel_Kiselev :pray: will check that out