
dependencies vs devDependencies in package.json: the difference in plain words, why a Vite site barely cares, and why your deploy fails with vite: not found.

A dependency is someone else's code running inside your project. What a dependency is in plain words, why there are hundreds, and when to just write it yourself.

Tree shaking drops unused code from your build. Here's why it works with some libraries and silently does nothing at all with others.

What package-lock.json is, in plain words: package.json stores ranges, not versions. The exact versions live in the lockfile — which is why you must not delete it.

A library is someone else's code you call by name. What a library is, how it differs from a framework, and why every import is worth checking.