How can I reference a Shopify asset (.js file) from another Shopify asset (another .js file)?

I know there are asset_url filters when referencing an asset from a liquid file. But is it possible to reference a relative path from within the assets folder? Or if not, how can I get the public CDN hosted url for a JS file uploaded to the assets folder?

Nevermind, I just realized I can name the .js file a .js.liquid file instead and use asset filter urls :slightly_smiling_face:

1 Like

Did it work?