`deno add -D`
What is the -D flag doing in deno?
I mean according to the manual:
-D, --dev Add as a dev dependency
But is anything imported differently in deno.json? To me it looks like it's the same5 Replies
this is only applicable for package.json
So how does deno decide which packages to include when building?
It only includes the imported libraries?
In other words, if I install a library and don't import it, will it be like "devDependencies" in package.json?
what do you mean with "building"?
I guess when compiling, or publishing
npm does not include devDependencies when you publish or compile the code
when deno runs, it only uses the dependencies it needs. same applies for jsr