Skip to content

Commit

Permalink
Merge pull request #236 from traPtitech/fix/scss
Browse files Browse the repository at this point in the history
Fix/scss
  • Loading branch information
Pugma authored Oct 24, 2024
2 parents d1ad60c + 19f731b commit 53a7264
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const config: UserConfig = {
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "${srcPath}/styles/common.scss";`
api: 'modern-compiler',
additionalData: `@use "${srcPath}/styles/common" as *;`
}
}
},
Expand Down

0 comments on commit 53a7264

Please sign in to comment.