From 3529c9ffe632c74756c8c498174a61b4a39a48b7 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 1 Jan 2022 10:07:29 -0800 Subject: [PATCH] fix(docs): restore "scripts-markup-styles" svelte sort order --- docs/svelte.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/svelte.config.js b/docs/svelte.config.js index 139ea081..97c936be 100644 --- a/docs/svelte.config.js +++ b/docs/svelte.config.js @@ -67,6 +67,7 @@ function plugin() { const scriptBlock = createImports(node.value); const formattedCode = format(scriptBlock + node.value, { parser: "svelte", + svelteSortOrder: "scripts-markup-styles", }); const highlightedCode = Prism.highlight( formattedCode,