Skip to content

How to find the source of static files in Magento 2

I have a site in developer mode and all static files are loaded from pub/static but they aren’t there. I have seen the docs that describe how Magento looks for the appropriate file to return as it can come from the theme, from extensions or from core files. But how can I know which file is being delivered?

I.e. this URL: https://dev.site.com/static/version1670060873/frontend/theme/sub/es_ES/js/ga_events.js

How can I know where is the real file “ga_events.js”?