gulp v4では、v3の時と書き方が変わっているので注意する。

実行結果

実行画面
サンプルURL:https://evofan.github.io/test_pug_sass_gulp4/dist/index.html
コード(GitHub):https://github.com/evofan/test_pug_sass_gulp4
参考:
pugとsassを使う方法【準備編】 | ゼロから始めるweb屋な生活
https://webya.site/preparation-pug-sass/
こちらのサンプルをgulp v4に対応。
gulp v4.0.0がプレリリース! 移行方法と変更点まとめ | Satoshi Shoji’s Blog
https://satoyan419.com/post/gulp-v4/
glup v3とv4の記述の比較。