A Svelte preprocessor to view the raw source of a Svelte markup. Check out the accompanying Svelte Summit video!
https://github.com/bluwy/svelte-preprocess-inline-logic
https://github.com/bluwy/svelte-preprocess-import-assets
https://github.com/bluwy/svelte-js-in-css
https://github.com/bluwy/svelte-fast-dimension
https://github.com/bluwy/svelte-view-source
https://github.com/Rich-Harris/magic-string
I’d also recommend using https://svelte.dev/repl instead of astexplorer for viewing the AST. The talk was recorded a while back.
MIT