Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Clarify Bun README preload and build-plugin requirements

已关闭 适合新手
#24,555 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
90/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
bun
领域
documentation

调研方向

从 packages/bun/README.md 开始,检查现有的 preload 文档以及对来自 @sentry/bun/plugin 的 sentryBunPlugin 的引用。完成的标准是 README 包含一个单独的 instrument.js preload 示例,说明初始化顺序和构建时 instrument 的要求,并链接到完整的构建示例而不重复其中的内容。

由索引模型根据 Issue 内容生成。

描述

Task

Update packages/bun/README.md with a separate instrumentation file and a bun --preload ./instrument.js app.js startup example.

Briefly explain that preload ensures initialization order, while sentryBunPlugin from @sentry/bun/plugin enables build-time instrumentation of supported bundled dependencies. Dependencies needing this instrumentation must be included in the bundle. Link to the full build example rather than duplicating it.

Preload already existed before v11; the build-plugin explanation is the key v11 addition.

Docs PR: getsentry/sentry-docs#19361

主要语言
TypeScript
星标
8.8k
派生
1.9k
平均合并
1 天 22 小时
30 天内合并 PR
514

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/sentry-javascript 的其他 Issue

查看 getsentry/sentry-javascript 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。