developit / developit/microbundle

Types haven't been bundled by microbundle

Đang mở
#1,084 2 bình luận 0 reaction 0 người được giao Được @rschristian nhận Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
8.1k
Fork
358
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.