Only include lib
dependencies in package
#4716
Labels
Milestone
lib
dependencies in package
#4716
Describe the problem
Moving #2884 (comment) into its own issue. If a repo contains both an app and a package, it's quite possible for
package.json
to contain dependencies that are only relevant to the app. These get copied intopackage/package.json
onsvelte-kit package
.Describe the proposed solution
It'd be nice if the generated
package.json
only included the dependencies that were referenced inlib
.Alternatives considered
Give users manual control over the
package.json
. Would make a good all-purpose escape hatch, but is very much a case of forcing the human to do the computer's job.Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: