developit / developit/microbundle

Types haven't been bundled by microbundle

オープン
#1,084 コメント 2 件 リアクション 0 件 担当者 0 名 @rschristian が担当を希望しています GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。