Skip to content

Commit

Permalink
fix: silence sass depracation warnings (#1016)
Browse files Browse the repository at this point in the history
## Done

- Silence sass deprecation warnings
  • Loading branch information
mas-who authored Dec 2, 2024
2 parents fa007c4 + 6f8abeb commit 0fb9efa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";

export default defineConfig({
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler",
silenceDeprecations: ["mixed-decls"],
},
},
},
plugins: [tsconfigPaths(), react()],
server: {
port: 3000,
Expand Down

0 comments on commit 0fb9efa

Please sign in to comment.