A boilerplate for creating Figma plugins using Svelte, Tailwind CSS (v4), Vite 7, and Typescript.
manifest.json file located in the root of this project.Run the development server which watches both your Plugin code (src/code.ts) and UI code (src/App.svelte):
npm run dev
# or
bun run dev
dist/index.html automatically. Reopen the plugin in Figma to apply changes.esbuild will rebuild dist/code.js automatically.To build the plugin for production:
npm run build
This generates the minimized and optimized files in the dist folder, ready for publishing.