Next.js Discord

Discord Forum

SASS JS API: Ability to change to modern instead of legacy as default for next.js

Unanswered
Labrador Retriever posted this in #help-forum
Open in Discord
Labrador RetrieverOP
Is there a way to change the currently default sass legacy js api that next.js uses to the modern api? Since with current SASS versions and a larger codebase, I'm getting a lot of warnings of the legacy api deprecation. I know I can silence those warnings, but ideally I'd like to switch to modern api (if that's possible).

Here's also a discussion posted by the lead developer/designer of SASS about this issue: https://github.com/vercel/next.js/discussions/67931

0 Replies