Skip to content

Commit bb58ccc

Browse files
committed
docs: update manual bundle instructions
1 parent 0c96f8f commit bb58ccc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,15 @@ pnpm bundle
9595
----
9696

9797
=== Manual
98-
See https://www.npmjs.com/package/pkg#targets[pkg] for details.
98+
See https://github.com/yao-pkg/pkg?tab=readme-ov-file#targets[pkg] for details.
9999

100100
[source,bash]
101101
----
102-
pnpm exec pkg <NODE_RANGE>-<PLATFORM>-<ARCH>
102+
pnpm build
103+
pnpm exec pkg dist/index.cjs -t '<NODE_RANGE>-<PLATFORM>-<ARCH>'
104+
105+
# Example
106+
pnpm exec pkg dist/index.cjs -t 'node24-macos-arm64' -o 'google-cloud-sql'
103107
----
104108

105109
== Deploy

0 commit comments

Comments
 (0)