ionic-team / ionic-team/rollup-plugin-node-polyfills
import/require with trailing slash not getting resolved
- 主要言語
- JavaScript
- スター
- 142
- フォーク
- 65
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
https://github.com/ionic-team/rollup-plugin-node-polyfills/blob/9b5fe1a9cafffd4871e6d65613ed224f807ea251/src/modules.ts#L65
I believe the intent was to remove the trailing slash and check in the map if the Polyfill exists
`importee === importee.slice(0, -1);` should have been `importee = importee.slice(0, -1);`
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Open src/modules.ts at line 65 and inspect how an import or require ending in a slash is handled before the polyfill map lookup. Verify the trailing slash is removed and that the resulting module resolves correctly; the issue does not mention a specific test file, so confirm the behavior with the project’s available checks.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, rollup
- 領域
- build-system, tooling
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100