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
Description
此问题发生在1.4.2版的vant,0.5.28版没有这个问题,问题是可能因为vant的高版本文件夹是@开头导致cml打包时出现路径错误
Guia do colaborador
- Pilha de tecnologia
- javascript
- Domain
- build systemdeveloper experience
- Tipo Issue
- bug
- DifficultyDificuldade de implementação estimada para um novo contribuidor, de 1 para alterações muito pequenas a 5 para trabalho de nível especializado.
- 3
- Tempo estimadoUm intervalo de tempo aproximado para um colaborador experiente investigar, implementar, testar e preparar um pull request.
- half day
- Status da atividadeQuão disponível o issue aparece agora: novo, ativo, obsoleto, bloqueado ou aguardando entrada do mantenedor.
- stale
- ClarityCom que clareza o issue explica a mudança esperada, os critérios de aceitação e a próxima etapa.
- mostly clear
- Prerequisites
- Knowledge of Chameleon build systemUnderstanding of npm scoped packages
- Simpatia para novatosUma pontuação de 1 a 100 que estima o quão acessível este issue é para colaboradores iniciantes.
- 40
- Direção de pesquisa
- 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.