Fix source maps of JS file.
This commit is contained in:
1 parent
1a19d63192
commit
394d5a42d9
1 file changed
+1
-1
@@ -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')));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user