m2-devtools icon indicating copy to clipboard operation
m2-devtools copied to clipboard

Append bundles after `requirejs-config` and `mage/requirejs/mixins`

Open kweij opened this issue 5 years ago • 0 comments

Instead of inserting the bundles directly after requirejs/require, append the bundles using add. This causes the bundles to be loaded after 2 important files that need to be loaded before these bundles: requirejs-config and mage/requirejs/mixins.

This PR is a:

  • [ ] New feature
  • [ ] Enhancement/Optimization
  • [ ] Refactor
  • [x] Bugfix
  • [ ] Test for existing code
  • [ ] Documentation

Summary

When this pull request is merged, it will make mixins work correctly.

Additional information

This fixes issue #57

kweij avatar Jan 23 '20 09:01 kweij