Ship production builds for @sentry/core and browser-utils
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript, typescript
- 領域
- build-system
調査の方向性
Start by comparing the package export conditions and build setup for @sentry/browser with those for @sentry/core and @sentry/browser-utils; the issue names no source files or tests. Check how production builds are generated and verify the package exports resolve to them without a bundler define. Done means the production entry points omit debug code by default, with build and package resolution checks confirming the behavior.
索引モデルが issue の本文から書いたものです。
説明
@sentry/browser 11.10.0 has development and production export conditions, and its default import resolves to build/npm/esm/prod, so its debug logging is stripped by default. @sentry/core and @sentry/browser-utils 11.10.0 export only react-native, import and require. Their single build keeps debug logging behind DEBUG_BUILD = (typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__).
- Without a bundler define for
__SENTRY_DEBUG__, every browser app ships the core and browser-utils debug code even though it uses the prod build of@sentry/browser. - Measured with esbuild 0.27 (minified) on a tracing-only browser setup: defining
__SENTRY_DEBUG__: falsecuts about 6 KB raw (137,636 → 131,987 B) and about 1.6 KB br-11. - Apps without a Sentry bundler plugin or a manual define don't get this saving.
Proposal from the reporter: ship production builds, or the same export conditions as @sentry/browser, for @sentry/core and @sentry/browser-utils, so the prod build drops debug code by default.
via @BYK.
--
- 主要言語
- TypeScript
- スター
- 8.8k
- フォーク
- 1.9k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 744
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-javascript のほかの issue
-
AWS Lambda Waiting for: Product Owner
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
getsentry/sentry-javascript#26910 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Only create Nuxt database and storage spans when there is a parent span再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンImprovement Nuxt
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
getsentry/sentry-javascript#25805 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Only create Cloudflare storage and D1 db spans when there is a parent span再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンCloudflare Workers Improvement Spans
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/sentry-javascript#25804 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Core Feature: Typescript Meta: Breaking
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
getsentry/sentry-javascript#25286 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getsentry/sentry-javascript#24200 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/sentry-javascript の issue をすべて見る
似ている issue
-
foreground-up-signals-live: delivery-repair cell expects a spawn suggestion status no longer printsオープンbug triage:owned
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/rhdh-plugin-export-overlays#4905 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
directus/directus#28558 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
review: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
1lck/Lithe-IDEA#2432 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
cloudflare/workers-sdk#17189 ·
メンテナーはふだん 1 日以内に返信