Instagram

About Me

Photo Profile
Meetanshi Architecture Designer

Meetanshi is found based on providing the best Magento Extensions and Customized eCommerce Business Solutions perfected to the users’ needs. Our Happy users make us Happy. Complete satisfaction to our clients is what drives and motivates us to work hard. Read More

Friday, July 29, 2022

How to Exclude Custom Module JS from Minification of JS in Magento 2

javaScript minification in Magento 2 erases odd parts like spaces or images from JS records to diminish the size of the code and to further develop the site load time. To minify JavaScript from Magento 2 backend, go to Stores > Configuration > Advanced > Developer when the designer mode is on.

Moves toward Exclude Custom Module Js from Minification of JS Magento 2:


~ Create di.xml record at Vendor\Extension\etc registry

~ Create record ExcludeFilesFromMinification.php at endor\Extension\Plugin registry


For more info: https://meetanshi.com/blog/exclude-custom-module-js-from-minification-of-js-magento-2/


No comments:
Write comments


Get more of our update !