We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如我用importmap 定义了前缀, 方便直接引用npm包
{"imports":{"npm/":"https://cdn.jsdelivr.net/npm/"}}
然后国内用户我想切换到 npmmirror ,但是我发现路径格式后缀不一样,没法直接切换
https://registry.npmmirror.com/jquery/3.6.4/files/dist/jquery.min.js https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js https://unpkg.com/[email protected]/dist/jquery.min.js
你可以看到 https://cdn.jsdelivr.net/npm 和 https://unpkg.com 路径格式一样,可以直接替换importmap,但是 npmmirror 不行
The text was updated successfully, but these errors were encountered:
反馈到 cnpm/cnpmcore#696 了
Sorry, something went wrong.
No branches or pull requests
比如我用importmap
定义了前缀, 方便直接引用npm包
然后国内用户我想切换到 npmmirror ,但是我发现路径格式后缀不一样,没法直接切换
https://registry.npmmirror.com/jquery/3.6.4/files/dist/jquery.min.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js
https://unpkg.com/[email protected]/dist/jquery.min.js
你可以看到 https://cdn.jsdelivr.net/npm 和 https://unpkg.com 路径格式一样,可以直接替换importmap,但是 npmmirror 不行
The text was updated successfully, but these errors were encountered: