Symbolic links to plugins

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 2.11.0

I’m trying to develop some Dashboards plugins on a directory that is independent from the OpenSearch project and then include them in the /plugins directory using symbolic links, but this raises all sorts of errors. Eg. when trying to build a plugin it fails with the error Plugin located at [target path] must be moved to the plugins directory at the root of the OpenSearch Dashboards repo.

Is there any way to achieve this? Has anyone tried to do anything similar?