Dart pub get generates link to packages in each folder and subfolders -
i try avoid dart generate symbolic links (to packages) in each folder/sub-folder. example, in pubspec.yaml add polymer package , run pub get. after got:
now each folder has packages symbolic link! understand it's because ensure can use package:.. statement in dart file in subdirectory.
i've read following topic (why dart pub trying install packages in css folder?), created 2 years ago. maybe new here? how can specify folders exclude generating links pub?
these symlinks necessary many tools. can use experimental command line option --no-package-symlinks pub get/pub upgrade disable symlink creation. tried while ago darteditor debugger stopped working (see http://dartbug.com/21749).
there plans rid of symlinks entirely. proposal exists , assume implemented within few months (no promises).
update
no packages directory , no symlinks might become default dart 1.13.
Comments
Post a Comment