Skip to content

Deprecation warnings when building assets #2842

Description

@acicovic

Describe the bug

We're getting deprecation warnings like Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. when building our assets. This isn't a real problem yet, as assets still get build normally.

To Reproduce

Build the project's assets. The warnings will appear.

Expected behavior

We shouldn't be getting warnings.

Additional context

This seems to be an upstream issue, tracked here (also see here). If this was to be included in a future update of @wordpress/scripts though, we're currently stuck on an old version due to #2624.

Activity

  1. added this to the Future Milestone milestone on Oct 8, 2024
  2. deleted a comment from on Oct 25, 2024
  3. acicovic commented on Mar 18, 2025

    @acicovic
    CollaboratorAuthor

    Related to #2608, as a general improvement to asset building.

  4. added theissue type on May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wp-parselyRequired label for all issues

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions