When I import and initialize firebase in Typescript file I have an Unexpected token error.
What is the good way to import the dependencie ?
What are you using as your bundler? This starter kit/library has been the simplest I found: Create Figma Plugin
It’s been a delight to use.
Also you will need to persist data using figma.clientStorage instead of localStorage or cookies as those are not available in plugins. This gist might help with that: