Skip to content
Discussion options

You must be logged in to vote

You can't merge this file togethether with other js code. Since it's a es module, it must be loaded using import.

You can write a wrapper that will load it:

<referenceBlock name="breeze.js">
    <arguments>
        <argument name="bundles" xsi:type="array">
            <item name="default" xsi:type="array">
                <item name="items" xsi:type="array">
                    <item name="autocomplete" xsi:type="array">
                        <item name="path" xsi:type="string">Swissup_Breeze/js/components/autocomplete-loader</item>
                    </item>
                </item>
            </item>
        </argument>
    </arguments>
</referenceBlock>
define([], function () {
    '…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@itsrcrowell
Comment options

Answer selected by itsrcrowell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants