magesuite / magepack

Next generation Magento 2 advanced JavaScript bundler.
Open Software License 3.0
438 stars 91 forks source link

Third party JS throwing 404 after enable bundling #184

Open gauravharsh15 opened 2 months ago

gauravharsh15 commented 2 months ago

Magento version: 2.4.6p3 Let's take example of 3rd party: Strategery_Infinitescroll Magepack bundling - 1 Magento default bundling - 0 js location in module: app/code/Strategery/Infinitescroll/view/frontend/web/js/infinitescroll.js js location in pub/static/: static/frontend/{THEME}/site2/en_US/Strategery_Infinitescroll/js/infinitescroll.min.js

However, Magento is looking for infinitescroll.min.js inside: static/frontend/{THEME}/site2/en_US/infinitescroll.min.js

and there are other modules too with same error.

IT IS HAPPENING ONLY IN PRODUCTION MODE, NOT IN DEVELOPER MODE