How to keep symlinks in web/bundles after composer update

When updating vendor through "composer update" or "composer install", the content of "Resources/public" of each bundle is copied into web/bundles, to create symlinks you have to make a small change in composer.json.

{
    "extra": {
        "symfony-assets-install":"symlink",
    }
}