Skip to content

Commit

Permalink
fix: silence sass depracation warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Mason Hu <[email protected]>
  • Loading branch information
mas-who committed Nov 29, 2024
1 parent 9d04bbe commit 6f8abeb
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 6f8abeb

Please sign in to comment.