This is a project template for figma plugin that use Svelte
To create a new plugin for figma that based on this template use degit:
npx degit VoloshchenkoAl/svelte-figma-plugin-template figma-plugin
cd figma-plugin
Note that you will need to have Node.js installed.
Install the dependencies...
cd figma-plugin
npm install
...then start Rollup:
npm run dev
This will run your app in watch mode
To create an optimised version of the app:
npm run build
Be default project use TypeScript