-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecation Warning: Legacy JS API #870
Comments
See #867 |
Thanks. I'm not across the changes but welcome any PRs. |
It seems there already exist a PR for this: #846 Any idea when this gets merged since i have barely an idea how to upgrade to the new api |
Is this repo abandoned? That pull request was 2½ years ago. |
I don't think it is abandoned, or I don't expect it to be, I have several old projects that use it and I keep updating them. |
I've updated every part of the outdated code but I kept seeing this message:
I have found a solution here: You can add a const gulp = require("gulp");
const sass = require("gulp-sass")(require("sass"));
gulp.task("sass", function(){
return gulp
.src("./src/sass/*.scss")
.pipe(sass({
silenceDeprecations: ['legacy-js-api'],
}))
.pipe(gulp.dest("./dist/css"));
}); |
Thanks, because the messages are really annoying, while there is no way to move on new API) |
We've released v6.0.0 which should resolves this issue. |
@katozaaaa here, I describe the upgrades that I made before use |
Good day,
a few days ago, the terminal began to issue a message: "Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0."
SASS is moving to a new API according to this article
The text was updated successfully, but these errors were encountered: