getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
319 stars 1.35k forks source link

fix(node): Update ESM instruction with --import @sentry/node/import #10028

Closed andreiborza closed 1 week ago

andreiborza commented 2 weeks ago

This has been a regression from the previous version of the docs where we mentioned calling node with --loader @sentry/node/import.

Node itself marks --loader as experimental and suggests to use --import instead.

Ref: https://github.com/getsentry/sentry-javascript/issues/12033

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2024 8:54pm
codecov[bot] commented 2 weeks ago

Bundle Report

Changes will decrease total bundle size by 12 bytes :arrow_down:

Bundle name Size Change
sentry-docs-edge-server 458.69kB 3 bytes :arrow_down:
sentry-docs-server 7.38MB 3 bytes :arrow_down:
sentry-docs-client 6.16MB 6 bytes :arrow_down:
andreiborza commented 1 week ago

We decided not to proceed with this approach, thanks for the review @lizokm.