configurable-file-extensions: Shadowing addon files doesn't always work
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, typescript
- 領域
- build-system
調査の方向性
まず、issue に記載されている ember-intl と ember-feature-flags のファイルを使って、断続的に発生する app-file shadowing を再現します。.ts ファイルを処理する分岐も含めます。通常の build と、欠落しているファイルに touch した後の build を比較し、Chrome DevTools を調査します。完了条件は、compatibility-layer の t helper と features service が、rebuild trigger を必要とせずに addon ファイルを一貫してオーバーライドすることです。
索引モデルが issue の本文から書いたものです。
説明
Cross-posting from #topic-typescript, so it doesn't get lost:
I noticed a peculiar problem with https://github.com/babel/ember-cli-babel/pull/140. I’m shadowing / clobbering files in the app directory provided by addons. For example, ember-intl re-exports the intl service and t helper in their app directory. I’m shadowing these with my own compatibility layer intl service and t helper. I’m doing the exact same thing to the features service of ember-feature-flags. This used to work reliably with ember-cli-babel 6.
But now it seems that sometimes this shadowing does not work and the addon-provided files “leak through”. I’m also unable to find my override file in the Chrome Dev Tools. Triggering a re-build on the “missing” file by touching it fixes the problem.
Does it maybe have something to do with parallelization?
Concretely what happened is that my t helper was sometimes missing and the ember-intl one leaked through. Same happened to the features service.
One side-note: I’m using my https://github.com/babel/ember-cli-babel/pull/236 branch to process .ts files.
This might be part of the cause.
- 主要言語
- JavaScript
- スター
- 151
- フォーク
- 115
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
emberjs/ember-cli-babel のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
emberjs/ember-cli-babel#508 ·
-
Add support for Babel v8対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
emberjs/ember-cli-babel#535 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
emberjs/ember-cli-babel#533 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
emberjs/ember-cli-babel#519 · コメント 6 件 · リアクション 8 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
emberjs/ember-cli-babel#517 ·
emberjs/ember-cli-babel の issue をすべて見る
似ている issue
-
enhancement javascript python
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
jlab-sensing/ENTS-backend#851 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
guilhermerodz/input-otp#157 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
davidjerleke/embla-carousel#1414 ·
メンテナーはふだん 4 日以内に返信
-
0. Needs triage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信