Skip to main content
Question

How to split plugin code in different files

  • January 2, 2023
  • 2 replies
  • 1095 views

Giulio_Andreini

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!

Pavel_Kiselev

Giulio_Andreini

Thank you for your feedback @Pavel_Kiselev 🙏 will check that out


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings