This plugin is built with webpack. Clone the repo, and execute
npm install
in the root folder to install all dependencies.
Just hit
npm start
to execute the webpack watcher. If you only want to build it once for production, just type
npm run build
to execute webpack once and build all your files.
Webpack will create a folder called build
, in which all plugin-related files are. So Figma only needs files from this folder.
If the plugin is built, you now can import it in Figma, just
- Open Figma
- Select
Plugins
in the left Sidebar - Click the
+
-Button right next to the SubheadlineDevelopment
- On the popup, click
Click to choose a manifest.json file
- Now select the
manifest.json
frombuild/manifest.json