What is the type of issue?
Documentation is missing, Example code is not working
What is the issue?
based on updates for Bun 1.3.4, Bun no longer loads package.json when using the --compile flag.
Thus, to load library 'pg' for deployment in docker with opentelemetry --compile-autoload-package-json needs to be added.
Thus, documentation needs to be edited from:
bun build --compile --external pg --outfile server src/index.ts
to
bun build --compile --compile-autoload-package-json --external pg --outfile server src/index.ts
for Bun v1.3.4+
Where did you find it?
oven-sh/bun#25418
What is the type of issue?
Documentation is missing, Example code is not working
What is the issue?
based on updates for Bun 1.3.4, Bun no longer loads package.json when using the
--compileflag.Thus, to load library 'pg' for deployment in docker with opentelemetry
--compile-autoload-package-jsonneeds to be added.Thus, documentation needs to be edited from:
to
for Bun v1.3.4+
Where did you find it?
oven-sh/bun#25418