difficulty bundling with esbuild

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
typescript
领域
build-system

调研方向

从 src/impl/ 下内部要求的文件开始,并阅读链接的 esbuild issue 1619,以了解 bundler 的约束和建议的变通方案。确定是否可以使 node-jsonc-parser 适配 bundler,然后验证在为 VS Code 扩展打包 package 时是否包含这些文件。

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

描述

I want to use node-jsonc-parser in a vscode extension and, per the guidance, I am using esbuild as the bundler. Unfortunately it doesn't work 'out of the box'; the internally required files (in src/impl/) are not bundled. I filed https://github.com/evanw/esbuild/issues/1619 with esbuild. They explained the reason and suggested a work around, but also mentioned 'making the code (ie. node-jsonc-parser) more bundler friendly'.
I'd appreciate any advice on whether this is possible/straightforward to do, thanks in advance.

主要语言
TypeScript
星标
759
派生
66
平均合并
5 天 10 小时
30 天内合并 PR
7

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

microsoft/node-jsonc-parser 的其他 Issue

查看 microsoft/node-jsonc-parser 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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