I’m on process to build a Figma plugin. But the problem that I could not import or export functions, constants variable from outside of file code.ts
(this is root file of resource).
How can we split or separate a file to be a reusable methods, constants for ease-to-maintain?
In case, Figma required only one built-in file, should I use webpack to bundle to a single file? If yes, what kind of the best webpack that useful for solution? Thanks.