Can't ignore the entry file
- 主要言語
- JavaScript
- スター
- 6.9k
- フォーク
- 1.8k
- 平均マージ
- 44分
- マージ済み PR(30日)
- 1
説明
I have multiple size-limit entry files for server, browser, etc, like this:
```json
[
{
"name": "Server",
"path": "size-limit-entries/server.mjs",
"limit": "2.6 KB",
"ignore": ["./size-limit-entries/server.mjs", "prop-types"]
},
{
"name": "Browser",
"path": "size-limit-entries/browser.mjs",
"limit": "2.6 KB",
"ignore": ["./size-limit-entries/browser.mjs", "prop-types"]
}
]
```
I don't want to include the entry files in the bundle size, as they only serve as a means to cherry pick relevant parts of the API for each size limit test and are not actually published.
For some reason none of these variations in the `ignore` array work:
- `size-limit-entries`
- `size-limit-entries/browser.mjs`
- `./size-limit-entries`
- `./size-limit-entries/browser.mjs`
When using `--why`:

コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。