Skip to content

Commit 64e3ba9

Browse files
committedJan 1, 2025
chore: Fix prepack
1 parent e0cdd56 commit 64e3ba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎packages/nuqs/scripts/prepack.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ VERSION=$(cat package.json | jq -r '.version')
1313

1414
if [[ "$(uname)" == "Darwin" ]]; then
1515
# macOS requires an empty string as the backup extension
16-
sed -i '' "s/0.0.0-inject-version-here/${VERSION}/g" dist/index.js
16+
sed -i '' "s/0.0.0-inject-version-here/${VERSION}/g" index.js
1717
else
1818
# Ubuntu (CI/CD) doesn't
19-
sed -i "s/0.0.0-inject-version-here/${VERSION}/g" dist/index.js
19+
sed -i "s/0.0.0-inject-version-here/${VERSION}/g" index.js
2020
fi

0 commit comments

Comments
 (0)