Importing as ES module, DevTool is included in production build
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- build-system, devtools
調査の方向性
Start at the /dist/index entry point and inspect how the ES module and default imports are selected during production builds. Compare the DevTool export with the default-import noop, then verify that a production bundle excludes the DevTool implementation while development builds still include it.
索引モデルが issue の本文から書いたものです。
説明
As the title says, when a project by default imports and builds everything from ES modules, hookform's DevTool import returns the entire code even in production builds, instead of the noop of the default import.
Depending on the environment, a quick workaround may be to import from /dist/index for now, which returns either the CommonJS-version or a noop DevTool.
- 主要言語
- TypeScript
- スター
- 670
- フォーク
- 55
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-hook-form/devtools のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
react-hook-form/devtools#234 · コメント 1 件 · リアクション 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
react-hook-form/devtools#226 · リアクション 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
react-hook-form/devtools#223 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
react-hook-form/devtools#212 · コメント 5 件 · リアクション 8 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
react-hook-form/devtools#208 · コメント 13 件 · リアクション 21 件 ·
react-hook-form/devtools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·