Skip to content

Commit 6a2b932

Browse files
committed
chore: set SCSS API to legacy in Vite configuration
1 parent 53164c1 commit 6a2b932

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

browser/vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default defineConfig(({ mode }) => ({
3333
css: {
3434
preprocessorOptions: {
3535
scss: {
36+
api: 'legacy',
3637
includePaths: ['node_modules'],
3738
loadPaths: [resolve(__dirname, 'node_modules')]
3839
}

0 commit comments

Comments
 (0)