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 have a scenario where I want to download a dependency (dependency is a react app) through npm install without downloading any of its transitive dependencies.
"dependencies": { "my-react-app": "latest" }
and under node_modules I am expecting only my-react-app. Is this possible?
The text was updated successfully, but these errors were encountered:
So I took the react-app alone, deployed the app, and it works. So I didn't understand why the transitive dependencies are required. I am beginner in react. But I am assuming react bundles the required dependencies when we build the app.
So there is no way to avoid transitive dependencies?
I have a scenario where I want to download a dependency (dependency is a react app) through npm install without downloading any of its transitive dependencies.
"dependencies": { "my-react-app": "latest" }
and under node_modules I am expecting only my-react-app. Is this possible?
The text was updated successfully, but these errors were encountered: