Skip to content

Commit

Permalink
try setting preprocessor config api to modern
Browse files Browse the repository at this point in the history
  • Loading branch information
akmatoff committed Oct 12, 2024
1 parent dea4cac commit f84df3b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ import * as path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), tsconfigPaths()],
css: {
preprocessorOptions: {
scss: {
api: "modern"
}
}
},
resolve: {
alias: {
"@": path.resolve(__dirname, "/src"),
Expand Down

0 comments on commit f84df3b

Please sign in to comment.