Skip to content

Commit

Permalink
Fixed source-map handling for git
Browse files Browse the repository at this point in the history
  • Loading branch information
tabris87 committed Oct 17, 2022
1 parent 9d48326 commit 1df4494
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ Thumbs.db

# test-time: code service
dist-codeservice

/source_maps
3 changes: 3 additions & 0 deletions app/uglify-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const path = require("path");

const asset_script_path = "dist/assets/scripts/";
const map_path = "source_maps";
if (!fs.existsSync(path.join(__dirname, map_path))) {
fs.mkdirSync(path.join(__dirname, map_path));
}

const options = {
compress: {
Expand Down

0 comments on commit 1df4494

Please sign in to comment.