developit / developit/microbundle
Cannot read property 'value' of undefined
- 主要语言
- JavaScript
- 星标
- 8.1k
- 派生
- 358
- PR 合并指标
- 30 天内没有已合并 PR
描述
I am getting some interestingly erroneous builds for code relying on `AsyncIterable` and `AsyncIterator`. Steps to reproduce:
```sh
git clone https://github.com/async-abstraction/tape
cd tape
yarn
yarn test # This works fine
sed 's/[/][s][r][c][/][i][n][d][e][x][.][j][s]/\/dist\/index.modern.js/g' -i test/src/*.js
yarn test # Works fine too
git reset --hard HEAD
sed 's/[/][s][r][c][/][i][n][d][e][x][.][j][s]/\/dist\/index.module.js/g' -i test/src/*.js
yarn test # BROKEN (Cannot read property 'value' of undefined)
git reset --hard HEAD
sed 's/[/][s][r][c][/][i][n][d][e][x][.][j][s]/\/dist\/index.cjs/g' -i test/src/*.js
yarn test # BROKEN (Cannot read property 'value' of undefined)
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
Run the reproduction steps in the issue from the tape repository, comparing yarn test with dist/index.modern.js, dist/index.module.js, and dist/index.cjs in test/src/*.js. Start by locating where the failing Cannot read property 'value' of undefined error occurs and compare the generated bundles. Done means the tests pass when each of the three dist entry points is substituted.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100