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 摘要。