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.

Was it helpful?

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
scroll top