JSDelivr CDN is broken

已关闭 适合新手
#500 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
frontend, web-dev

调研方向

首先检查 package 如何发布其入口点,以及 jsDelivr 如何解析不带版本号的 package URL。报告称,明确指定 1.37.8 的 URL 可以正常工作,而不带版本号的 URL 会报错:“Couldn't resolve the default file in @master/css.”。确认 package 元数据或 CDN 配置提供了默认入口点,然后验证不带版本号的 URL 是否能够解析。

由索引模型根据 Issue 内容生成。

描述

Description

https://cdn.jsdelivr.net/npm/@master/css

The CDN we've been using for our production app, for master css is no longer working, we had to find a different one with a specific version, in order to get it to work and deploy it as a hotfix.

This is what we had to switch to, to make this work: https://cdn.jsdelivr.net/npm/@master/[email protected]/index.min.js

I don't know if our app would work with 2.0, but there appears to be no default version for the CDN

Version

CDN

Reproduction

No response

System Informations

No response

Relevant log output
Couldn't resolve the default file in @master/css.
What browsers are you seeing the problem on?

No response

主要语言
TypeScript
星标
2k
派生
44
平均合并
8 小时 14 分钟
30 天内合并 PR
5

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。