Skip to content

Conversation

@kweij
Copy link

@kweij kweij commented Jan 23, 2020

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
  • 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

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 fixes issue magento#57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant