From 573a66156f07a4533ddd9b12fc7f71d63cbca823 Mon Sep 17 00:00:00 2001 From: Puru Vijay Date: Tue, 4 Apr 2023 02:27:15 +0530 Subject: [PATCH] Update code example --- site/content/docs/04-compiler-and-api/01-svelte-compiler.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/content/docs/04-compiler-and-api/01-svelte-compiler.md b/site/content/docs/04-compiler-and-api/01-svelte-compiler.md index 67a2075a08..092ef6abbf 100644 --- a/site/content/docs/04-compiler-and-api/01-svelte-compiler.md +++ b/site/content/docs/04-compiler-and-api/01-svelte-compiler.md @@ -250,8 +250,7 @@ const { code, dependencies } = await preprocess( if (attributes.lang !== 'sass' && attributes.lang !== 'scss') return; const { css, loadedUrls } = await sass.compileStringAsync(content, { - data: content, - includePaths: [dirname(filename)] + loadPaths: [dirname(filename)] }); return {