Skip to content

Commit

Permalink
fix build instructions 45
Browse files Browse the repository at this point in the history
  • Loading branch information
oleole39 committed Nov 25, 2024
1 parent dd1a52a commit d0b49b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ pushd "$build_folder"
#~ # Remove Sentry (error tracking)
sed -i '/sentry/d' "./package.json"
sed -i '/@sentry/d' "./next.config.js"
sed -i '/const config/a \ \ basePath: \'\/__YNH_SUBDIR_PATH__\',' "./next.config.js"
sed -i '/CLIENTSCRIPT="foo"/a CLIENTSCRIPT2="hello"' file
#~ sed -i '/const sentryConfig/{:Loop;N;/\n);/!bLoop;/upgrade/d}' "./next.config.js"
sed -i '/const sentryConfig/,+14d' "./next.config.js"
#~ sed -i 's/sentryConfig/""/' "./next.config.js"
Expand Down

0 comments on commit d0b49b4

Please sign in to comment.