Composer move from prefer-source to prefer-dist
-
20-12-2019 - |
Question
Is there any way with Composer to update from using prefer-source, to using prefer-dist? I'd like to deploy the dist files, but develop with source files. Running composer update --prefer-dist
doesn't seem to work though.
Solution
It seems like first deleting the vendor folder, then updating will do the job.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow