Files

22 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2026-07-14 22:51:00 +04:00
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/Users/dianafif/Software/shooting-event/frontend/node_modules/.pnpm/vite@5.4.21/node_modules/vite/node_modules:/Users/dianafif/Software/shooting-event/frontend/node_modules/.pnpm/vite@5.4.21/node_modules:/Users/dianafif/Software/shooting-event/frontend/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/Users/dianafif/Software/shooting-event/frontend/node_modules/.pnpm/vite@5.4.21/node_modules/vite/node_modules:/Users/dianafif/Software/shooting-event/frontend/node_modules/.pnpm/vite@5.4.21/node_modules:/Users/dianafif/Software/shooting-event/frontend/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
else
exec node "$basedir/../vite/bin/vite.js" "$@"
fi