Skip to content

Commit

Permalink
Use modern compiler API of Sass
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmz committed Oct 15, 2024
1 parent 880d725 commit 75f3892
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/expandable.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../styles/helvetica/dark-vars.scss';
@import '../../styles/helvetica/dark-vars.scss';

.clippedContent {
overflow-y: hidden; /* fallback for old Safari */
Expand Down
5 changes: 5 additions & 0 deletions vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,9 @@ export default defineConfig(({ mode }) => ({
},
},
},
css: {
preprocessorOptions: {
scss: { api: 'modern-compiler' },
},
},
}));

0 comments on commit 75f3892

Please sign in to comment.