cancel
Showing results for 
Search instead for 
Did you mean: 

Source file for arrays.min.js?

Source file for arrays.min.js?

The theme I'm working with (Smartwave Porto) has an error in it's arrays.min.js file that stops the checkout from loading on our site. I've fixed the error in pub/static/frontend/Smartwave/porto/en_GB/mage/utils/arrays.min.js but I can't find where the original file is to fix it before static content is deployed. Any pointers anyone?

1 REPLY 1

Re: Source file for arrays.min.js?

Hi @denialdesign 

 

As per my understanding, the arrays.min.js file is the minified version of the default magento2 base utils array.js file. I would recommend you to override this file in your theme and make your changes there.


Here is the path where you can find this file:

vendor\magento\magento2-base\lib\web\mage\utils\arrays.js

Let me know if you have any other query.

 

Thanks

--

If my answer is useful, please Accept as Solution & give Kudos