svelte-meta-tags
svelte-meta-tags copied to clipboard
trim production dependencies
Neither of schema-dts or svelte are used at runtime, but they end up in the production node_modules due to how peerDependencies are handled by npm.
-
schema-dts
has typescript as a peerDependency -
svelte
is declared as a peerDependency
Both get installed with npm install --production
even thought they are unused, and when used to build an image for deployment this means they add ~67MB dead weight.