Skip to content

Hook into Svelte compile pipeline #10496

Answered by vekunz
vekunz asked this question in Q&A
Feb 16, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I now use htmlparser2 for parsing the HTML and @typescript-eslint/typescript-estree for parsing the TypeScript. And then dom-serializer to serialize the modified DOM back to HTML. For my use-case this works fine.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
Comment options

You must be logged in to vote
0 replies
Answer selected by vekunz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants