You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see an index.tsx in the same dir as package.json.
It may be in the wrong place. As far as collecting the babel-paths is concerned, my guess is that it should make no difference. Because the code is located in src/ babel should still be able to load the code in the child path.
It has been many months since I used React or React-Workspaces, so I'm a little rusty, but I think those index files should be moved into the src/ directory - and the index code should be:
In packages/components-typescript/package.json the fields
main
andmain:src
: refer to files that do not exist:The
index.tsx
file is located in packages/components-typescript/index.tsxAre these two fields redundant?
The text was updated successfully, but these errors were encountered: