mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Update gulpfile.js
This commit is contained in:
parent
a1d60f7d41
commit
01f2c6dd2e
1 changed files with 1 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
||||||
/// <binding BeforeBuild='build' Clean='clean' ProjectOpened='watch' />
|
/// <binding BeforeBuild='build' ProjectOpened='watch' />
|
||||||
'use strict';
|
'use strict';
|
||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var sass = require('gulp-sass');
|
var sass = require('gulp-sass');
|
||||||
|
@ -248,17 +248,6 @@ gulp.task('bundle', function () {
|
||||||
sourceMaps: true
|
sourceMaps: true
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('clean', function () {
|
|
||||||
return del([
|
|
||||||
...paths.npm.src.map(x => path.join(paths.npm.dest, x + "**")),
|
|
||||||
paths.sass.dest + paths.sass.filter,
|
|
||||||
paths.lib.dest,
|
|
||||||
paths.bundle.dest,
|
|
||||||
...paths.modules.map(m => m.dest),
|
|
||||||
...paths.libcss.map(m => m.dest + (m.filter ? m.filter : '')),
|
|
||||||
...paths.libfonts.map(m => m.dest)
|
|
||||||
].map(x => path.join(paths.wwwroot, x)), { force: true });
|
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('typescript', function () {
|
gulp.task('typescript', function () {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue