File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 5757 "prettier" : " ^2.7.1" ,
5858 "react" : " ^18" ,
5959 "react-dom" : " ^18" ,
60- "sass-embedded" : " ^1.79.4 " ,
60+ "sass-embedded" : " ^1.83.0 " ,
6161 "storybook" : " ^8.4.7" ,
6262 "storybook-dark-mode" : " ^4.0.2" ,
6363 "tsx" : " ^4.19.1" ,
6464 "typescript" : " ^5.6.2" ,
6565 "underscore" : " ^1.12.0" ,
66- "use-async-effect" : " ^2.2.1"
66+ "use-async-effect" : " ^2.2.1" ,
67+ "vite" : " ^5.4.11"
6768 },
6869 "resolutions" : {
6970 "@types/react" : " 18.3.12"
Original file line number Diff line number Diff line change 1- export default {
1+ import { defineConfig } from "vite" ;
2+
3+ export default defineConfig ( {
24 resolve : {
35 conditions : [ "typescript" ] ,
46 } ,
5- // https://vite.dev/config/shared-options.html#css-preprocessoroptions
6- scss : {
7- api : "modern-compiler" , // or "modern", "legacy"
7+ css : {
8+ preprocessorOptions : {
9+ // https://vite.dev/config/shared-options.html#css-preprocessoroptions
10+ sass : {
11+ api : "modern-compiler" , // or "modern", "legacy"
12+ } ,
13+ } ,
814 } ,
9- } ;
15+ } ) ;
You can’t perform that action at this time.
0 commit comments