@shopify/liquid-html-parser package has no `.js.map` files
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- build-system
调研方向
检查已发布的 @shopify/liquid-html-parser v2.0.5 软件包,重点关注其中的 dist/*.js 文件、缺失的 /src 目录以及不存在的 .js.map 文件。将软件包内容和 sourceMappingURL 引用与预期的 npm 构件进行比较,然后验证通过 @shopify/theme-check-common v2.9.2 使用它时不再产生 source map 加载错误。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
@shopify/liquid-html-parser package has no /src folder and .js.map files. We can check that on npmjs.com (linked to package name above). This package is used in @shopify/theme-check-common package that is needed for .liquid files checking.
Naturally, missing .js.map files results in errors if you have source mapping for dependencies in your project. Errors like that:
WARNING in ./node_modules/@shopify/liquid-html-parser/dist/conditional-comment.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'X:\work\shop\shops\node_modules\@shopify\liquid-html-parser\dist\conditional-comment.js.map' file:
Error: ENOENT: no such file or directory, open 'X:\work\shop\shops\node_modules\@shopify\liquid-html-parser\dist\conditional-comment.js.map'
Expected behaviour
@shopify/liquid-html-parser package has /src folder and .js.map files and has no source map loading errors.
Actual behaviour
@shopify/liquid-html-parser package has no /src folder and .js.map files.
But tries to use sourceMappingURLs in the every .js files like in the screenshot:
Debugging information
- Lib Version - latest of @shopify/liquid-html-parser (v2.0.5)
- Lib Version that uses liquid-html-parser - latest of @shopify/theme-check-common (v2.9.2)
- 主要语言
- TypeScript
- 星标
- 245
- 派生
- 108
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Shopify/theme-tools 的其他 Issue
-
ThemeCheck incorrectly reports error when `with` is used in snippet可能已有人在做 @efegokdemir 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
Shopify/theme-tools#1408 ·
维护者通常 2 天内回复
-
CdnPreconnect misses `href="https://cdn.shopify.com"` without a trailing path可能已有人在做 @RaphaelFakhri 于 33 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Shopify/theme-tools#1365 ·
维护者通常 2 天内回复
-
theme-graph CLI never calls getWebComponentMap, so custom-element references are never resolved可能已有人在做 @reginaldalfret 于 51 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
Shopify/theme-tools#1291 · 1 条评论 ·
维护者通常 2 天内回复
-
JSONMissingBlock false positive for app block when section supports both @app and @theme可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
Shopify/theme-tools#1144 · 2 条评论 · 8 个 reaction ·
维护者通常 2 天内回复
-
theme-language-server: creating or deleting a folder leaves stale readDirectory/stat cache可能已有人在做 @efegokdemir 于 14 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 68/100
Shopify/theme-tools#1386 ·
维护者通常 2 天内回复
查看 Shopify/theme-tools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process Termination未关闭
难度 2/5 1-3 小时 新手友好度 74/100
nocobase/nocobase#11711 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Y2025: QBI forms print a negative taxable income; Form 8995-A lines 14b/14c check the wrong column未关闭
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
readest/readest#7903 · 1 条评论 ·
维护者通常 1 天内回复