Circular dependencies in common bundle, even if unique to single entry point
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- build-system
調査の方向性
示されているとおりに shared.js、entry1.js、entry2.js、one.js、two.js、three.js を使ってレポートを再現し、その後、循環依存の有無による共通バンドルとエントリ固有バンドルの出力を比較します。非共有エントリからのサイクルがそのエントリの出力に残り、共有コードだけが共通バンドルに配置されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Consider the following situation
// shared.js
console.log('hello from shared');
----------
// entry1.js
require('./shared');
----------
// entry2.js
require('./shared');
require('./one');
----------
// one.js
require('./two');
----------
// two.js
require('./three');
----------
// three.js
require('./one')
I have two entry points that share some code. One of my entry points has some code that isn't shared, but results in a circular dependency.
I would expect that the circular dependency in non-common code end up in the entry point specific output file, but instead it is ending up in the common file. If I remove the circular dependency, it ends up in the entry point specific output file (as I would expect).
- 主要言語
- JavaScript
- スター
- 397
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
browserify/factor-bundle のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
browserify/factor-bundle#95 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
browserify/factor-bundle#94 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
browserify/factor-bundle#92 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
browserify/factor-bundle#83 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
browserify/factor-bundle#82 · リアクション 3 件 ·
browserify/factor-bundle の issue をすべて見る
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100