Skip to content

Commit

Permalink
docs(changeset): Updates sass API to use the modern compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbes7878 committed Nov 22, 2024
1 parent 03bcbe2 commit a1f847a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-weeks-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@reuters-graphics/graphics-kit': patch
---

Updates sass API to use the modern compiler.
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { sveltePreprocess } from 'svelte-preprocess';
const config = {
preprocess: sveltePreprocess({
preserve: ['ld+json'],
scss: { quietDeps: true },
scss: { quietDeps: true, api: 'modern-compiler' },
postcss: {
plugins: [autoprefixer],
},
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const config: UserConfig = {
},
},
css: {
preprocessorOptions: { scss: { quietDeps: true } },
preprocessorOptions: { scss: { quietDeps: true, api: 'modern-compiler' } },
},
plugins: [
sveltekit(),
Expand Down

0 comments on commit a1f847a

Please sign in to comment.