react-workspaces/react-workspaces-playground

components-typescript package.json main field is confusing

Open

#43 geöffnet am 3. Apr. 2020

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (755 Stars) (130 Forks)batch import
good first issuehelp wanted

Beschreibung

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?

Contributor Guide