Kong / Kong/httpsnippet

v3.0.9 Bug: Can't resolve 'fs'

未关闭
#389 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.2k
派生
242
PR 合并指标
30 天内没有已合并 PR

描述

v3.0.9 it no longer works on client-side applications. It now relies on the `'fs'` package which is only available in node (and not, for example, the browser). This was not the case on v3.0.1. Please fix.

贡献指南

打开贡献指南

调研方向

Compare the v3.0.9 and v3.0.1 package entry points and dependency behavior, focusing on where the client-side build reaches the Node-only 'fs' package. Reproduce the failure in a browser-based application, then verify that the generated client-side bundle works without requiring 'fs' while Node usage remains functional.

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

评估

技术栈
node.js, typescript
领域
frontend, web-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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