react-workspaces/react-workspaces-playground

Why @react-workspaces/react-scripts and react-scripts required as dependencies in same app

Jagatmachines opened this issue · 2 comments

Well whoever committed that line was obviously an idiot.

Care to remove and submit PR?

Just a heads-up, I have removed react-scripts and starting getting issues with import of svg files, after some research I found that facebook/create-react-app#8223

That means that after you remove the react-scripts, you will need to modify all react-app-env.d.ts files from:

/// <reference types="react-scripts" />

to

/// <reference types="@react-workspaces/react-scripts" />

After I have done that, the imports worked again. Obviously that is relevant only for people using Typescript.