Comment

Comment by user43928

How would you set that up?

Like say you installed only the production dependencies, then you'd be missing the build tools, bundler, etc.

One idea would be to use hooks of your bundler to enforce that each module resolved during the production build is declared in the regular dependencies.

It would be far from a standard solution though.

parent user43928 22 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton