Skip to content

Commit

Permalink
fix: build config
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Sep 13, 2024
1 parent 3407c43 commit 689c9b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ HEADER="/*!

# Function to prepend text to files
prepend_header() {
find "$1" -type f \( -name '*.js' -o -name '*.d.ts' -o -name '*.d.mts' \) -print0 | while IFS= read -r -d '' file; do
find "$1" -type f \( -name '*.js' -o -name '*.d.ts' -o -name '*.cjs' -o -name '*.mjs' -o -name '*.d.mts' \) -print0 | while IFS= read -r -d '' file; do
printf "%s%s" "$HEADER" "$(cat "$file")" > "$file"
done
}
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 689c9b3

Please sign in to comment.