From 394d5a42d969117b8f2c79720c01d2b954be3120 Mon Sep 17 00:00:00 2001 From: Roman Axelrod Date: Wed, 14 Dec 2022 03:19:15 +0200 Subject: [PATCH] Fix source maps of JS file. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index bd069af..165b430 100755 --- a/server.js +++ b/server.js @@ -290,8 +290,8 @@ function buildScriptFiles(done) { }) .pipe(gulp.src(path.join(projectPath, 'vendor/*.js'))) // .pipe(gulp.dest('src/')) - .pipe(uglify()) .pipe(rename({extname: '.min.js'})) + .pipe(uglify()) .pipe(sourcemaps.write('.')) .pipe(gulp.dest(path.posix.join(projectPath, 'src'))); }