Skip to content
Prev Previous commit
Next Next commit
wip
  • Loading branch information
cspotcode committed Jul 20, 2021
commit 4f956975d56d3c905dd2d3977dd0a0c1b5eb7265
9 changes: 9 additions & 0 deletions link-packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
shopt -s inherit_errexit

__dirname="$(CDPATH= cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$__dirname"

[ -e node_modules/source-map ] && rm -r node_modules/source-map
ln -s ../../source-map ./node_modules/source-map