ionic-team / ionic-team/rollup-plugin-node-polyfills
import/require with trailing slash not getting resolved
- Ngôn ngữ chính
- JavaScript
- Star
- 142
- Fork
- 65
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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);`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, rollup
- Lĩnh vực
- build-system, tooling
- Loại issue
- Lỗi
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 45/100