Skip to content
Discussion options

You must be logged in to vote

the order of preprocessors changed between svelte3 and svelte4.

In svelte3, all markup preprocessors ran first, then script, then style. Starting with svelte4, the order in the preproces array defines it, so yes. these vite-plugin defined preprocessors are executed after user-defined ones in svelte.config.js.

https://svelte.dev/docs/svelte-compiler#preprocess

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vnphanquang
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