Fix Gulp tasks definition

This commit is contained in:
Bruno Alla 2024-11-27 00:13:20 +01:00
parent 6b0ceea7db
commit ea014e7499
No known key found for this signature in database

View File

@ -3,7 +3,7 @@
//////////////////////////////// ////////////////////////////////
// Gulp and package // Gulp and package
import { src, dest, parallel, series, watch } from 'gulp'; import { src, dest, parallel, series, task, watch } from 'gulp';
import pjson from './package.json' with {type: 'json'}; import pjson from './package.json' with {type: 'json'};
// Plugins // Plugins
@ -181,6 +181,6 @@ const dev = parallel(runServer, initBrowserSync, watchPaths);
const dev = parallel(initBrowserSync, watchPaths); const dev = parallel(initBrowserSync, watchPaths);
{%- endif %} {%- endif %}
export default series(build, dev); task('default', series(build, dev));
export build; task('build', build);
export dev; task('dev', dev);