quaffui/quaff

Snippets overhaul

Closed this issue · 0 comments

While generating snippets is much more performant than generating doc prop files, it should still be optimized to prevent unnecessary overwriting of files and have advanced features such as hot reload. Also, we don't want these files in git.

  • Remove files from git, add to .gitignore
  • Use hashes like previously, but these should ideally just consider the snippets, not the whole source file
  • Use async fs methods
  • Prevent code duplication (e.g. when listing component dirs)
  • Add to Vite plugin
  • (Optional) See if the resulting files can be formatted a bit nicer