I have create a folder (named webapp) in a Dart project where I put some server side classes. When I run pub install
( or pub update
), to import the libraries that I use in the project, the dependencies are correctly download and some link to this folder are created in some default folders ( eg: web, out ecc ).
there is a way to generate automatically a link to the package folder in my webapp ( or any custom folder ) folder?
I don't think it is possible to make pub
generate packages
in a not standard directory.
In pub install documentation you can read the section Linked packages
directories :
It assumes your package is laid out according to the package layout guide, and creates a linked
packages
directory inbin/
,test/
, andexample/
, as well as their subdirectories.