I need to add a custom script in my module and that script requires me to add defer in it. I have added the script in the requirejs-config.js file. But i am cannot see that script working. Although i am able to access objects from the custom script but some of the functionalities inside it are not working.

Please suggest how can i achieve the same.

1 Answer 1


Use below extension. this extension better for you.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.