Category: WordPress

Enqueueing using the from @wordpress/scripts generated .deps.json dependencies [UPDATED for .asset.php]

When using the @wordpress/scripts package, it will automatically create a .deps.json file for every JavaScript entrypoint. This file contains a list of all the WordPress JavaScript dependencies used in it and in all the file it imports. Therefore it really simplifies keeping track all of the dependencies of a script. But the question that quickly […]

Continue reading