Boilerplate setup for developing React based Figma plugins. Demonstrates a basic example of publishing / subscribing to messages between App.tsx
and code.ts
. Additionally has some sensible defaults included such as
- webpack loaders for CSS Modules and SVGs
- eslint config
- Node 14+
- From the menu go to: Plugins / Development / New Plugin...
- Select the manifest.json
$ npm install
$ npx webpack
Used Figma's example webpack.config as a starter