Skip to content

Commit

Permalink
Silence SASS deprecation warnings
Browse files Browse the repository at this point in the history
- recommended by Bootstrap team
- see twbs/bootstrap#40962
  • Loading branch information
druettiger committed Dec 17, 2024
1 parent 5959d22 commit d1cb8d9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,16 @@
import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({});
export default defineConfig({
// Silencing SASS deprecation warnings (recommended by Bootstrap team)
// see https://github.com/twbs/bootstrap/issues/40962
vite: {
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ['mixed-decls', 'color-functions', 'global-builtin', 'import']
}
}
}
}
});

0 comments on commit d1cb8d9

Please sign in to comment.