Kaskus

Tech

meetanshiAvatar border
TS
meetanshi
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.
How to Exclude Custom Module JS from Minification of JS in Magento 2
Moves toward Exclude Custom Module Js from Minification of JS for 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/
Diubah oleh meetanshi 29-07-2022 14:30
0
162
0
GuestAvatar border
Komentar yang asik ya
GuestAvatar border
Komentar yang asik ya
Komunitas Pilihan