mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
small changes
This commit is contained in:
parent
4cf0ffac2f
commit
1ab9b5a7cc
2 changed files with 4 additions and 4 deletions
|
@ -137,7 +137,7 @@ gulp.task('npm', function () {
|
|||
streams.push(
|
||||
gulp.src(file)
|
||||
.pipe(gulpif(global.full, sourcemaps.init()))
|
||||
//.pipe(gulpif(global.full, uglify({ source_map: true })))
|
||||
.pipe(gulpif(global.full, uglify({ source_map: true })))
|
||||
.pipe(rename((path => { path.basename = module })))
|
||||
.pipe(gulpif(global.full, sourcemaps.write('../maps')))
|
||||
.pipe(gulp.dest(path.join(paths.wwwroot, paths.npm.dest)))
|
||||
|
@ -152,7 +152,7 @@ gulp.task('lib', function () {
|
|||
streams.push(
|
||||
gulp.src(typeof module === "string" ? module : module.file)
|
||||
.pipe(gulpif(global.full, sourcemaps.init()))
|
||||
//.pipe(gulpif(global.full, uglify({ source_map: true })))
|
||||
.pipe(gulpif(global.full, uglify({ source_map: true })))
|
||||
.pipe(rename(function (path) {
|
||||
if (typeof module !== "string" && module.rename) {
|
||||
path.basename = module.rename;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"core-js": "^2.4.1",
|
||||
"del": "^2.2.2",
|
||||
"gulp": "~3.9.1",
|
||||
"gulp-changed": "^1.3.0",
|
||||
"gulp-changed": "^1.3.0",
|
||||
"gulp-clean-css": "^3.0.4",
|
||||
"gulp-filter": "^5.0.0",
|
||||
"gulp-if": "^2.0.2",
|
||||
|
@ -28,7 +28,7 @@
|
|||
"gulp-sass": "^2.3.2",
|
||||
"gulp-sourcemaps": "^1.9.0",
|
||||
"gulp-systemjs-builder": "^0.15.0",
|
||||
"gulp-uglify": "^1.5.4",
|
||||
"gulp-uglify": "^2.1.2",
|
||||
"jquery": "2.2.1",
|
||||
"merge-stream": "^1.0.1",
|
||||
"nanoscroller": "^0.8.7",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue