You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running into issues with the plugins code.js files included in this repo.
I create a new local development plugin and copied the code.jsand I received the following console error (perhaps plugins only work with ES6?)
I then copied the code.js to the TypeScript file to downlevel it, and aside from typescript warnings, it compiles. When I run the plugin it doesn't look like it is extracting the same tokens found in the scripts/tokens/styles.json. The style plugin has similar issues.
Running into issues with the plugins
code.js
files included in this repo.I create a new local development plugin and copied the
code.js
and I received the following console error (perhaps plugins only work with ES6?)I then copied the
code.js
to the TypeScript file to downlevel it, and aside from typescript warnings, it compiles. When I run the plugin it doesn't look like it is extracting the same tokens found in the scripts/tokens/styles.json. The style plugin has similar issues.figma-plugin-token-json
figma-plugin-styles-json
The text was updated successfully, but these errors were encountered: