So as we all know Magento has always had a massive js overhead, I'm trying to reduce some of this by removing some unnecessary scripts. I know how to override a script or extend one, but how do I override a requirejs-config to remove scripts added by deps:[]?

I have a couple of 3rd party modules and I've removed the functionality in .phtml by overriding them in my theme, I'm just left with the scripts, but I don't know how to remove them without modifying the core of the module. Any help appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.