Jethro's Braindump

The Svelte Compiler Handbook | Tan Li Hau

tags
Svelte, Web Development

Svelte’s compilation process can be broken down into 4 steps:

  • parsing source code into an AST
  • tracking references and dependencies
  • creating code blocks and fragments
  • generating code