react-workspaces/react-workspaces-playground

components-typescript package.json main field is confusing

Open

#43 ouverte le 3 avr. 2020

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (755 stars) (130 forks)batch import
good first issuehelp wanted

Description

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?

Guide contributeur