BUG: `multi DOCUMENT_PATH` not inferred correctly.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- nextjs, typescript, webpack
- Lĩnh vực
- tooling
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra parser của bundle xử lý mục nhập multi NAME như thế nào và so sánh với mã nguồn module sau đây được hiển thị cho next/dist/pages/_document.js. Xác định cách các tên nguồn khác nhau cần được giữ nguyên, sau đó thêm các bài kiểm thử hồi quy bao quát dạng bundle này và xác minh rằng báo cáo không còn coi cả hai nguồn là cùng một tệp nữa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
If we produce up with a bundle like:
/***/ 61:
/*!*******************************************************************************!*\
!*** multi /PATH/TO/my-app/node_modules/next/dist/pages/_document.js ***!
\*******************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(/*! /PATH/TO/my-app/node_modules/next/dist/pages/_document.js */62);
/***/ }),
/***/ 62:
/*!*************************************************************************!*\
!*** /PATH/TO/my-app/node_modules/next/dist/pages/_document.js ***!
\*************************************************************************/
/*! no static exports found */
/*! all exports used */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(/*! next/document */ 63)
We get the plugin report of:
## static/HASH/pages/_document.js
next (Found 1 resolved, 1 installed. Latest version 7.0.0.)
7.0.0
~/next
* Dependency graph
[email protected] -> next@^7.0.0
* Duplicated files in static/HASH/pages/_document.js
next/dist/pages/_document.js (S, 42)
The issue: This is because the different sources:
multi /PATH/TO/my-app/node_modules/next/dist/pages/_document.js/PATH/TO/my-app/node_modules/next/dist/pages/_document.js
both resolve to a short name of next/dist/pages/_document.js
Task
- Dig into what
multi NAMEreally means. - See if there are other things like
multithat may occur? - Deal with the naming issue. (Maybe preserve multi?)
- Add regression tests.
- Ngôn ngữ chính
- TypeScript
- Star
- 590
- Fork
- 20
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FormidableLabs/inspectpack
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
FormidableLabs/inspectpack#181 · 1 bình luận · 2 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
FormidableLabs/inspectpack#180 · 1 bình luận ·
-
Allow CI to passĐang mởunverified
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
FormidableLabs/inspectpack#179 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
FormidableLabs/inspectpack#168 · 1 bình luận ·
-
Not working with pnpmĐang mởhigh priority unverified
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
FormidableLabs/inspectpack#151 · 1 bình luận ·
Tất cả issue của FormidableLabs/inspectpack
Issue tương tự
-
VS Code extension: clickable file links in chat drop the :line suffix, never jump to the lineĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
MoonshotAI/kimi-code#4398 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Xiaomi Mimo语音识别服务异常Đang mởpending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
package-lock.json : les binaires natifs macOS et Linux de unrs-resolver ont disparu depuis #1823Đang mởbug dependencies
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
AxaFrance/design-system#2064 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100