Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append bundles after requirejs-config and mage/requirejs/mixins #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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