Skip to content

Commit

Permalink
refactor: ../.. instead of src
Browse files Browse the repository at this point in the history
  • Loading branch information
CalicoNino committed Jan 23, 2024
1 parent caad35d commit 89c08ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ yarn build:tsc
echo "Fix path resolution"
dist_folder="./dist"
# Go through all ts and js files in the dist folder
find "$dist_folder" -type f \( -name "*.ts" -o -name "*.js" \) -exec sed -i 's|require("@/|require("src/|g' {} +

find "$dist_folder" -type f \( -name "*.ts" -o -name "*.js" \) -exec sed -i 's|require("@/|require("../../|g' {} +

# yarn docgen

0 comments on commit 89c08ab

Please sign in to comment.