1 commentaire (1 commentaire)0 réactions (0 réactions)0 assignés (0 assignés)JavaScript9 021 stars (9 021 stars)694 forks (694 forks)batch import
help wanted
Description
此问题发生在1.4.2版的vant,0.5.28版没有这个问题,问题是可能因为vant的高版本文件夹是@开头导致cml打包时出现路径错误
Guide contributeur
- Stack technique
- javascript
- Domaine
- build systemdeveloper experience
- Type d'issue
- bug
- DifficultéDifficulté estimée pour un nouveau contributeur, de 1 pour un très petit changement à 5 pour un travail expert.
- 3
- Temps estiméFourchette de temps approximative pour investiguer, implémenter, tester et préparer une pull request.
- half day
- Statut d'activitéDisponibilité apparente de l'issue : fraîche, active, ancienne, bloquée ou en attente d'un mainteneur.
- stale
- ClartéClarté avec laquelle l'issue explique le changement attendu, les critères d'acceptation et la prochaine étape.
- mostly clear
- Prérequis
- Knowledge of Chameleon build systemUnderstanding of npm scoped packages
- Accessibilité débutantScore de 1 à 100 estimant l'accessibilité de cette issue pour un premier contributeur.
- 40
- Direction de recherche
- 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.