You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been discussed multiple times, and the solution with a composer script to copy the contents from a subfolder into root will work just fine.
I just wanted to share a discovery with composer config-settings that might help somebody.
If i specify that the vendor-dir should be hosted within the same folder as the wordpress-install-dir, composer does not remove the contents of the folder.
That being said, the vendor folder should not be hosted within the public folder. But since this setting does not remove the contents of the public folder when installing wordpress there, then there might be some other setting to achieve the same result?
The text was updated successfully, but these errors were encountered:
This has been discussed multiple times, and the solution with a composer script to copy the contents from a subfolder into root will work just fine.
I just wanted to share a discovery with composer config-settings that might help somebody.
If i specify that the vendor-dir should be hosted within the same folder as the wordpress-install-dir, composer does not remove the contents of the folder.
For eg. this composer.json:
{ "config": { "vendor-dir": "public/vendor" }, "require": { "johnpbloch/wordpress": "^5.9" }, "extra": { "wordpress-install-dir": "public" } }
That being said, the vendor folder should not be hosted within the public folder. But since this setting does not remove the contents of the public folder when installing wordpress there, then there might be some other setting to achieve the same result?
The text was updated successfully, but these errors were encountered: