Skip to content

Commit

Permalink
use gitattributes for eol
Browse files Browse the repository at this point in the history
  • Loading branch information
Skrypt committed Jan 9, 2025
1 parent c5a0eac commit 8ea0719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* text=auto

*.map text eol=lf
**/wwwroot/Scripts/* linguist-vendored
2 changes: 1 addition & 1 deletion .scripts/assets-build-tool/min.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ glob(config.source).then((files) => {
dest,
path.parse(target).name + ".map"
);
fs.outputFile(mappedTarget, (output.map.replace(/(?:\\[rn])+/g, "\\n")) + "\n");
fs.outputFile(mappedTarget, output.map);
console.log(
`Mapped (${chalk.gray("from")}, ${chalk.cyan(
"to"
Expand Down

0 comments on commit 8ea0719

Please sign in to comment.