Skip to content

Commit 8939172

Browse files
author
Jannik Stehle
committed
chore: suppress scss deprecation warnings
1 parent 830e5fb commit 8939172

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pnpm-lock.yaml

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vite.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ export default defineConfig(({ mode, command }) => {
165165
css: {
166166
preprocessorOptions: {
167167
scss: {
168-
additionalData: `@import "${projectRootDir}/packages/design-system/src/styles/styles";${stripScssMarker}`
168+
additionalData: `@import "${projectRootDir}/packages/design-system/src/styles/styles";${stripScssMarker}`,
169+
silenceDeprecations: ['legacy-js-api']
169170
}
170171
}
171172
},

0 commit comments

Comments
 (0)