Topic: Dependency Management

How to Alias a WordPress Script or Style Dependency

When trying to get fine-grained control over your WordPress dependencies, aliasing assets like JavaScript and CSS can be useful. Whether you’re trying to simply create alternative handles for your resources, or you’re aiming to concatenate your asset pipeline, aliases are helpful to avoid breaking WordPress dependency management. Dependency Aliasing Support in the WordPress core Let’s explore how an alias is made. For both scripts […]