Is it possible to add custom JS to Magento 2, without RequireJS while avoiding render-blocking problems?

This error keeps coming: http://requirejs.org/docs/errors.html#mismatch

That error creates render-blocking which means that 50% of page loads are missing the navigation menu and cart

  • Isn't possible. – Rishabh Rk Rai Jan 9 '18 at 15:22
  • I found my problem, I linked to a third party script which included an anonymous define() call – VirtusB Jan 11 '18 at 7:53

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.