[n.b., this issue is being created retroactively to track work we identified as needed in Slack and then actioned in #178]
This plugin has an unnecessary hard dependency on humanmade/asset-loader; moreover, it requires an older version of asset loader that is no longer current.
The dependency was a consequence of Asset_Loader being implicitly available in old versions of Altis, but this plugin is now able to be used across multiple hosts and build systems. It should not require a separate plugin to activate and use the editorial UI of Authorship.
We should adjust the build in the plugin to load the dynamic scripts directly. This may require duplicating some amount of asset-loader's logic, but should require only a subset of that plugin's functionality. If time permits, the preferred option would be to switch the build to use wp-scripts, which has a more straightforward paradigm for enqueuing scripts and will be maintained by the core community going forward.
[n.b., this issue is being created retroactively to track work we identified as needed in Slack and then actioned in #178]
This plugin has an unnecessary hard dependency on humanmade/asset-loader; moreover, it requires an older version of asset loader that is no longer current.
The dependency was a consequence of Asset_Loader being implicitly available in old versions of Altis, but this plugin is now able to be used across multiple hosts and build systems. It should not require a separate plugin to activate and use the editorial UI of Authorship.
We should adjust the build in the plugin to load the dynamic scripts directly. This may require duplicating some amount of asset-loader's logic, but should require only a subset of that plugin's functionality. If time permits, the preferred option would be to switch the build to use
wp-scripts, which has a more straightforward paradigm for enqueuing scripts and will be maintained by the core community going forward.