Skip "generate phase" hooks during scan build

未关闭
#855 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

  • #950 来自 @copilot-swe-agent —— 已关闭,未合并

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
rollup, typescript, vite
领域
build-system

调研方向

首先跟踪 scan build 以及它如何调用 Rollup 的输出生成 hooks,并以链接的 Cloudflare Workers SDK issue 作为动机案例。检查现有的并行构建讨论是否相关;完成的标准是 scan build 不再运行这些 hooks,同时不破坏其他插件。

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

描述

plugin: rsc

https://github.com/cloudflare/workers-sdk/issues/10650 is a first instance of @vitejs/plugin-rsc breaking other plugins and this can be mitigated if we skip "output generation hooks" https://rollupjs.org/plugin-development/#output-generation-hooks for scan build.

Also it may be a time to try parallel build again https://github.com/hi-ogawa/vite-plugins/pulls?q=is%3Apr+is%3Aopen+parallel

主要语言
TypeScript
星标
1.2k
派生
287
平均合并
1 天 17 小时
30 天内合并 PR
19

环境准备

从这里开始

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

vitejs/vite-plugin-react 的其他 Issue

查看 vitejs/vite-plugin-react 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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