Skip to content

Commit

Permalink
chore: add sourcemaps config in vendor js minification (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muchogoc committed Nov 8, 2023
1 parent e09e9a5 commit 156e0a1
Show file tree
Hide file tree
Showing 8 changed files with 50,464 additions and 73,693 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function scripts() {
}
// Vendor Javascript minification
function vendorScripts() {
return src(paths.vendorsJs)
return src(paths.vendorsJs, {sourcemaps: true})
.pipe(sourcemaps.init())
.pipe(concat("vendors.js"))
.pipe(lec({ verbose: true, eolc: "LF", encoding: "utf8" }))
Expand Down
Loading

0 comments on commit 156e0a1

Please sign in to comment.