The Sass team is planning to release a version of Sass soon that begins to emit deprecation warnings for uses of the legacy JS API. Since this is currently the default for Next.js, it might be a good idea to move to using the modern API as the default instead.