1 comment (1 comment)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript9,021 stars (9,021 stars)694 forks (694 forks)batch import
help wanted
説明
此问题发生在1.4.2版的vant,0.5.28版没有这个问题,问题是可能因为vant的高版本文件夹是@开头导致cml打包时出现路径错误
コントリビューターガイド
- 技術スタック
- javascript
- 領域
- build systemdeveloper experience
- Issue 種別
- bug
- 難度新しい貢献者にとっての実装難度です。1 は非常に小さな変更、5 は専門的な作業です。
- 3
- 推定時間経験ある貢献者が調査、実装、テスト、pull request 準備にかけるおおよその時間範囲です。
- half day
- 活動状況Issue が今どれだけ取り組みやすいかを示します。新しい、活発、古い、ブロック中、またはメンテナー入力待ちなどです。
- stale
- 明確さ期待される変更、受け入れ条件、次の手順がどれだけ明確かを示します。
- mostly clear
- 前提条件
- Knowledge of Chameleon build systemUnderstanding of npm scoped packages
- 初心者向け度初回貢献者にどれだけ取り組みやすいかを 1-100 で推定したスコアです。
- 40
- 調査方針
- The issue occurs when using a higher version of vant (1.4.2) where the package folder starts with '@' (scoped package). The chameleon packaging tool (cml) seems to generate incorrect paths for files inside such scoped packages. Investigate the build configuration and file resolution logic in Chameleon's source code, likely in the packaging or bundling modules. Check if there are any existing handling for scoped packages or if the path concatenation fails when the package name starts with '@'. A fix may involve updating the path resolution to properly handle scoped package names.