-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The @wordpress/scripts package includes a really neat feature which calculates the dependencies of a script automatically, and writes them to a dependencies property in index.asset.php. The idea is that you pass this property into the $deps parameter when enqueuing the script, meaning you don't need to manually figure out your WordPress-provided script dependencies and keep them up to date.
I believe this functionality is provided by the @wordpress/dependency-extraction-webpack-plugin package.
Is this something that could be bundled with Webpack Helpers?
Metadata
Metadata
Assignees
Labels
No labels