developit / developit/microbundle
Types haven't been bundled by microbundle
未关闭
- 主要语言
- JavaScript
- 星标
- 8.1k
- 派生
- 358
- PR 合并指标
- 30 天内没有已合并 PR
描述
Microbundle ignores `*.ts` files if they contain only types. Example of the file: https://github.com/XaveScor/signal-components/blob/dff96fd7151db5aae7421059836794a7880c2649/src/types.ts.
### Reproduction:
```
git clone https://github.com/XaveScor/signal-components
git checkout tags/v0.11.0
pnpm install
pnpm build
```
### Expected Result:
`types.d.ts` is included in the `./dist` directory.
### Actual Result:
`types.d.ts` does not exist. Types are broken because we have `./types` imports, but the file is missing.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。