Skip to content

Commit

Permalink
fix: sassのmodern-compilerを使うように (misskey-dev#14651)
Browse files Browse the repository at this point in the history
* fix(frontend-embed): ビルド時にsassのmodern-compilerを使うように

* fix(frontend): ビルド時にsassのmodern-compilerを使うように
  • Loading branch information
AmaseCocoa authored and Natsuki-Kaede committed Oct 3, 2024
1 parent 2048de5 commit 86d0f6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/frontend-embed/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ export function getConfig(): UserConfig {
}
},
},
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},

define: {
Expand Down
5 changes: 5 additions & 0 deletions packages/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ export function getConfig(): UserConfig {
}
},
},
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},

define: {
Expand Down

0 comments on commit 86d0f6b

Please sign in to comment.