Upload static files to S3 in Magento2 using remote storage or any other correct way

Viewed 8

I am able to use S3 for media using remote storage.

But I dont know correct way to upload static files to S3.

For example static JS bundles are created dynamically and url will be like mysitedotcom/static/version123456/pathtobundle3.min.js

If they are permanent static files I can upload to s3 manually and paste urls in html but these are generated dynamically so not sure correct way to upload to S3.

0 Answers
Related