Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 880 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 880 Bytes

Yet another Figma plugin starter

Basics

Typescript – the best JavaScript to date.
React – renders stuff, so you don't have to.
Webpack – bundles it all together.

More goodies

workers – heavy computation? Try using Webworkers! Check demo.worker.ts and app.tsx. Workers MUST be inlined due to Figma plugins system design, so be size-aware.
debug – smarter console.log. Can be switched on/off via process.env.DEBUG. Default: on in dev mode, off on prod.
figma-messenger – helper utility for type-safe communication between iframe and main thread.

Usage

Clone, copy/paste and run yarn dev or yarn build for production build.

License

BSD-3