Hello I checked out the project and run the following commands
pnpm install
pnpm build
but webpack fails with missing types
ERROR in /home/sylvain/projects/ds/figma-plugin/src/app/CodePreviewView/index.tsx(13,14)
TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try npm i --save-dev @types/node.
After a pnpm add -D @types/node command. It seemed to build.
Side question : why there are no more build.zip in releases ?
Hello I checked out the project and run the following commands
but webpack fails with missing types
ERROR in /home/sylvain/projects/ds/figma-plugin/src/app/CodePreviewView/index.tsx(13,14) TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try
npm i --save-dev @types/node
.After a
pnpm add -D @types/node
command. It seemed to build.Side question : why there are no more build.zip in releases ?