Skip to content

Also processes markup in transpile. #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2020

Conversation

MaartenX
Copy link
Contributor

Like how the Svelte compiler works, we should first process the markup,
before we can process the script and style, to make sure we get a
representative result.

This fixes an issue where the TypeScript preprocessor needs to look at
the markup to update the code
(see this PR: sveltejs/svelte-preprocess#155).

Since the mentioned PR is not merged yet, I did not create an issue, but
I think the language server should expose the same behavior as the
Svelte compiler.

Like how the Svelte compiler works, we should first process the markup,
before we can process the script and style, to make sure we get a
representative result.
@dummdidumm
Copy link
Member

Thanks!

@dummdidumm dummdidumm merged commit e624465 into sveltejs:master May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants