Skip to content

Third party JS throwing 404 after enable bundling #184

@gauravharsh15

Description

@gauravharsh15

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions