← Winnitude! Search  ·  Reader Mode (857 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 6 LINKS

Remove Sass legacy JS API build warnings · Issue #805 · algorithm-visualizer/algorithm-visualizer

Repository navigation

Remove Sass legacy JS API build warnings  #805


New issue

New issue

Open

Open
Remove Sass legacy JS API build warnings #805

Description

@yuyu1815's profile yuyu1815 opened on May 4, 2026

Problem

Running npm run build emits repeated Dart Sass deprecation warnings:

DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

The warning appears once for each SCSS compilation. The current build stack uses react-scripts@3.0.1 with sass-loader@10.5.2; that loader calls Dart Sass through the legacy render() API.

Why it matters

Dart Sass 2.0.0 will remove the legacy JS API, so this is future breakage rather than just noisy output.

Acceptance criteria

  • npm run build completes without any legacy-js-api Sass warnings.
  • The SCSS/CSS output remains equivalent for the existing app.
  • The fix keeps the CRA 3 build wrapper working on the current Node baseline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions