Re:Brave overhauled its Rust adblock engine with FlatBuffers...
by sponnath on Monday January 05, 2026 @08:42PM
(#46507746)
It does not recursively install dev-dependencies.
Re:Brave overhauled its Rust adblock engine with FlatBuffers...
by ashishb on Monday January 05, 2026 @09:11PM
(#46507911)
> It does not recursively install dev-dependencies.
So, these ~100 [direct] dev dependencies are installed by anyone who does `npm install react`, right?
Re:Brave overhauled its Rust adblock engine with FlatBuffers...
by frio on Monday January 05, 2026 @09:17PM
(#46507945)
No. They’re only installed if you git clone react and npm install inside your clone.
They are only installed for the topmost package (the one you are working on), npm does not recurse through all your dependencies and install their devDependencies.
Please correct me if I am wrong, here's my understanding.
"npm install installs both dependencies and dev-dependencies unless NODE_ENV is set to production."