Skip to main content

Hi, i’m new at plugin development and i’ve been trying to import this library into my project import { Hct } from “@material/material-color-utilities” when I write this statemente on my code.ts file, it shows me this error when I run it on Figma.



I’ve already made a bundle using webpack but it didn’t work, also I tried with the example which is in the Figma documentation about bundles and libraries and it showed me the same error. I don’t know if nowadays it’s not possible to import external dependencies to a file.ts in Figma. Here is the documentation I’ve been using for this. Really appreciate any help 😦

Libraries and Bundling | Plugin API

Be the first to reply!

Reply