mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 21:20:16 +03:00
Fix Gulp tasks definition
This commit is contained in:
parent
6b0ceea7db
commit
ea014e7499
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user