Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Important
Security Advisory: React2Shell & two new vulnerabilities
Find out more

sassOptions

Last updated October 19, 2025

sassOptions allow you to configure the Sass compiler.

next.config.ts
importtype { NextConfig }from'next'constsassOptions= {  additionalData:`    $var: red;  `,}constnextConfig:NextConfig= {  sassOptions: {...sassOptions,    implementation:'sass-embedded',  },}exportdefault nextConfig

Good to know:

  • sassOptions are not typed outside ofimplementation because Next.js does not maintain the other possible properties.
  • Thefunctions property for defining custom Sass functions is only supported with webpack. When using Turbopack, custom Sass functions are not available because Turbopack's Rust-based architecture cannot directly execute JavaScript functions passed through this option.

Was this helpful?

supported.

[8]ページ先頭

©2009-2025 Movatter.jp