Skip to content

Commit 7660561

Browse files
authored
build: fix fontawesome font path in development mode (@fehmer) (monkeytypegame#7233)
1 parent e0b5c46 commit 7660561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function getCssOptions({
289289
preprocessorOptions: {
290290
scss: {
291291
additionalData(source, fp) {
292-
if (fp.endsWith("index.scss")) {
292+
if (isDevelopment || fp.endsWith("index.scss")) {
293293
/** Enable for font awesome v6 */
294294
/*
295295
const fontawesomeClasses = getFontawesomeConfig();

0 commit comments

Comments
 (0)