extract scripts js end css from your proiects with composer
Execute a composer.json, with the following script https://github.com/Ghepes/extract-scripts To extract scripts we will use for test a wordpress file project. We will add to the project the wordpress location from where js and css are extracted
TREE project format
Generate files end copy wordpress-all -
name_project/
├── composer.json
├── wordpress/ # folder extract js css
├── copy-assets.php
├── post-install-cmd.php
if the extraction folder is called something other than wordpress, you must change the wordpress name in the entire scripts project
composer install
composer update