use babel transform instead of webpack to inject `process.env.VERSION`
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- babel, typescript, webpack
- 领域
- build-system
调研方向
检查 webpack 打包后的 bundle 和 npm 模块构建路径,找出 process.env.VERSION 注入的位置。阅读所引用的 babel-plugin-transform-define 包,然后验证两个输出是否一致地公开版本值。
由索引模型根据 Issue 内容生成。
描述
Currently, only the webpacked bundle has this variable injected, while the npm module does not.
This package should help: https://github.com/FormidableLabs/babel-plugin-transform-define
- 主要语言
- TypeScript
- 星标
- 199
- 派生
- 133
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/BotFramework-DirectLineJS 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 30/100
microsoft/BotFramework-DirectLineJS#432 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
microsoft/BotFramework-DirectLineJS#424 · 3 条评论 ·
-
Application crashes when refresh token returns an error可能重新可做 @compulim 于 793 天前认领,目前没有进行中的 PR。 未关闭bug
microsoft/BotFramework-DirectLineJS#421 · 3 条评论 · 已指派 1 人 ·
查看 microsoft/BotFramework-DirectLineJS 的全部 Issue
相似的 Issue
-
ADD openalgo未关闭template
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
factory-active factory-automatic task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
bug Needs: Triage :mag:
难度 2/5 1-3 小时 新手友好度 84/100
microsoft/fluentui-contrib#671 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
sveltejs/acorn-typescript#150 ·
-
难度 2/5 1-3 小时 新手友好度 78/100