mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Clean gulpfile
This commit is contained in:
parent
abb8d56db3
commit
440ae17e7d
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ function serve() {
|
|||
port: 8080
|
||||
});
|
||||
|
||||
let events = ['add', 'change'];
|
||||
const events = ['add', 'change'];
|
||||
|
||||
watch(options.javascript.query).on('all', function (event, path) {
|
||||
if (events.includes(event)) {
|
||||
|
@ -105,7 +105,7 @@ function clean() {
|
|||
return del(['dist/']);
|
||||
}
|
||||
|
||||
let pipelineJavascript = lazypipe()
|
||||
const pipelineJavascript = lazypipe()
|
||||
.pipe(function () {
|
||||
return mode.development(sourcemaps.init({ loadMaps: true }));
|
||||
})
|
||||
|
@ -140,7 +140,7 @@ function apploader(standalone) {
|
|||
.pipe(pipelineJavascript())
|
||||
.pipe(dest('dist/'))
|
||||
.pipe(browserSync.stream());
|
||||
};
|
||||
}
|
||||
|
||||
task.displayName = 'apploader';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue