Skip to content

Commit a25d83f

Browse files
authored
fix: sassのmodern-compilerを使うように (#14651)
* fix(frontend-embed): ビルド時にsassのmodern-compilerを使うように * fix(frontend): ビルド時にsassのmodern-compilerを使うように
1 parent 6fd4de2 commit a25d83f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/frontend-embed/vite.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ export function getConfig(): UserConfig {
9191
}
9292
},
9393
},
94+
preprocessorOptions: {
95+
scss: {
96+
api: 'modern-compiler',
97+
},
98+
},
9499
},
95100

96101
define: {

packages/frontend/vite.config.ts

+5
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ export function getConfig(): UserConfig {
109109
}
110110
},
111111
},
112+
preprocessorOptions: {
113+
scss: {
114+
api: 'modern-compiler',
115+
},
116+
},
112117
},
113118

114119
define: {

0 commit comments

Comments
 (0)