Skip to content

DEPRECATION WARNING: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0. #39146

Discussion options

You must be logged in to vote

That didn't remove the legacy warnings for me, but adding an addtional option did.

    {
      resolve: `gatsby-plugin-sass`,
      options: {
        sassOptions: {
          api: "modern",
          silenceDeprecations: ['legacy-js-api'],
        },
      },
    },

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@badaczewski
Comment options

Answer selected by badaczewski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants