Skip to content

Instantly share code, notes, and snippets.

@matthew-pm
Last active February 9, 2023 15:34
Show Gist options
  • Save matthew-pm/e594d1390e66348beffce0b2a69d59b6 to your computer and use it in GitHub Desktop.
Save matthew-pm/e594d1390e66348beffce0b2a69d59b6 to your computer and use it in GitHub Desktop.
Update gulp-sass imports for 5.x
// from
const sass = require('gulp-sass');
sass.compiler = require('sass');
// to
const sass = require('gulp-sass')(require('sass'));
"gulp-sass": "^5.1.0",
"sass": "^1.49.9",
@lolPoPCatt
Copy link

woooooooooooooooooooooooooooo'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment