[ad_1]
Please turn off any “JavaScript optimization” or exlude Photoswipe from that optimization if possible.
PhotoSwipe 5 uses JavaScript modules and MUST be loaded as a single file and NOT be merged with any other JavaScript files.
Also keep all source files intact! PhotoSwipe 5 will load other files as modules if needed (and only if needed – not earlier!). So these files must exist as well and must not be removed during “optimization”.
