FigmaToCode icon indicating copy to clipboard operation
FigmaToCode copied to clipboard

Multiple build tools

Open mimshwright opened this issue 1 year ago • 1 comments

While looking through the codebase it seems the code is using quite a lot of different build tools. For example, I see...

  • next.js
  • vite
  • Rollup
  • ESBuild
  • Turbo
  • pnpm

What are the reasons behind all the different setups? Would it be a lot of work to unify this in some way or remove unused tools?

mimshwright avatar Dec 13 '24 20:12 mimshwright

rollup is old.

Right now I try to follow a standard turborepo package, where I have the plugin, the UI, and a web tester with a fake UI so you can test the UI independently of Figma, this is the logic.

The goal is something like this: https://turbo.build/repo/docs/crafting-your-repository/structuring-a-repository

One day I wish it had a docs page

bernaferrari avatar Dec 13 '24 20:12 bernaferrari