Ported html-rspack-plugin not support output.publicPath with a function
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- build-system
调研方向
Start by running pnpm run build in the linked reproduction and compare the rspack and webpack behavior for a function-valued output.publicPath. Then inspect the html-rspack-plugin path that calls compilation.getAssetPath; done means the reproduction builds successfully with the function form instead of crashing.
由索引模型根据 Issue 内容生成。
描述
Current behaviour 💣
Build program will crash when set output.publicPath as a function.
Expected behBaviour ☀️
Be fine.
Reproduction Example 👾
https://stackblitz.com/github/Gehbt/reprod-rspack-external-html-plugin
reproduct:
run pnpm run build
Environment 🖥
no matter
Additional comments
It is looks like rspack's compilation.getAssetPath not support function at first parameter.
rspack:
webpack:
- 主要语言
- JavaScript
- 星标
- 19
- 派生
- 4
- 平均合并
- 7 小时 17 分钟
- 30 天内合并 PR
- 10
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rstackjs/html-rspack-plugin 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
rstackjs/html-rspack-plugin#51 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 38/100
rstackjs/html-rspack-plugin#42 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 25/100
rstackjs/html-rspack-plugin#19 ·
维护者通常 1 天内回复
查看 rstackjs/html-rspack-plugin 的全部 Issue
相似的 Issue
-
check:failed feeds:add
难度 2/5 1-3 小时 新手友好度 72/100
iptv-org/database#36278 · 1 条评论 ·
维护者通常 3 天内回复
-
fix
难度 2/5 1-3 小时 新手友好度 72/100
idean3885/claude-ops-agent#577 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 7 天内回复
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
notionnext-org/NotionNext#4544 ·
维护者通常 1 天内回复