react-workspaces/react-workspaces-playground

components-typescript package.json main field is confusing

Open

#43 建立於 2020年4月3日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (130 fork)batch import
good first issuehelp wanted

倉庫指標

Star
 (755 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

In packages/components-typescript/package.json the fields main and main:src: refer to files that do not exist:

  "main": "src/index.tsx",
  "main:src": "src/index.tsx",

The index.tsx file is located in packages/components-typescript/index.tsx

Are these two fields redundant?

貢獻者指南