[Koha-bugs] [Bug 26228] Update gulpfile to work with Node.js v12

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 17 17:28:19 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26228

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I'm not on the Node.js camp but I rewrote the gulpfile.js following the Gulp v4
docs and it is pretty trivial.
It works 'as it used to', so not a big deal IMHO.
I removed the try/catch block that actually hides problems (if gulp cannot be
loaded it will actually explode saying so, so...).

TODO: gulp-util says it is deprecated and should be avoided. It's been like
that for a while. They recommend minimist, but I didn't manage to make it work
with our yarn build setup. Worth doing some short research on the subject.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list