Skip to content

Commit 7fca61c

Browse files
React Next.js: silence Sass deprecations
1 parent 728434b commit 7fca61c

2 files changed

Lines changed: 170 additions & 287 deletions

File tree

react-nextjs/next.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
reactStrictMode: true,
4+
sassOptions: {
5+
silenceDeprecations: ['color-functions',
6+
'global-builtin',
7+
'import',
8+
'if-function',],
9+
},
410
}
511

612
module.exports = nextConfig

0 commit comments

Comments
 (0)