Figma MCP Server

by GLips
Verified
MIT License
12,389
3,232
  • Linux
  • Apple
import { defineConfig } from "tsup"; const isDev = process.env.npm_lifecycle_event === "dev"; export default defineConfig({ clean: true, entry: ["src/index.ts"], format: ["esm"], minify: !isDev, target: "esnext", outDir: "dist", outExtension: ({ format }) => ({ js: ".js", }), onSuccess: isDev ? "node dist/index.js" : undefined, });