Memperbarui ke Gulp 4

Updating to Gulp 4
Brian Muenzenmeyer edited this page on 17 Sep 2017 · 4 revisions
Gulp 4 uses an updated CLI which needs to be updated globally. This CLI is backwards compatible with any Gulp 3.X projects you may have locally.

# first uninstall gulp globally
npm uninstall gulp -g

# uninstall from your project directory, or delete node_modules if you need a coffee break
npm uninstall gulp

# install the latest Gulp 4 CLI tools globally
npm install gulpjs/gulp-cli -g
Open Osprey