Skip to content

Commit

Permalink
fix: sassのmodern-compilerを使うように (#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 Oct 3, 2024
1 parent 6fd4de2 commit a25d83f
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 a25d83f

Please sign in to comment.