根目录下配置软链接json文件

slink.json

{
  "target1": [
    {
      "src": "/conf/target1/pubspec.yaml",
      "to": "/pubspec.yaml"
    },
    {
      "src": "/conf/target1/remote.yaml",
      "to": "/remote.yaml"
    }]
}

Libraries