Enable source maps for readable stack traces
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,4 +6,4 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
|
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
|
|
||||||
../cmd pnpm ncc build ./app.ts -o dist
|
../cmd pnpm ncc build ./app.ts -o dist --source-map
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
|
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
|
|
||||||
exec ../cmd node dist/index.js "$@"
|
exec ../cmd node --enable-source-maps dist/index.js "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user