The docs tell me that assets for plugins are accessible at the
/media/plugins/superwoman/superplugin/fields/myfield.1520265293.js URL. But how do I know that URL, specifically the fingerprinting part?
I’ve tried just using the
js() helper like this:
<?= js('media/plugins/superwoman/superplugin/myfield.js') ?> //and also with <?= js('/media/plugins/superwoman/superplugin/myfield.js') ?>
It works, in the sense that the asset is reachable like that, but the helper doesn’t add the fingerprint; it just comes out as:
<script src="https://example.com/media/plugins/superwoman/superplugin/myfield.js"> </script>