Skip to content

Braintree js.braintreegateway is not excluded from minify  #4713

Closed
@bgkavinga

Description

@bgkavinga

Since the Braintree js.braintreegateway js in not excluded in minify, it fails to load Braintree in checkout when js minification is enabled.
Quick fix: Add following to one of config.xml

 <default>
        <dev>
            <js>
                <merge_files>0</merge_files>
                <minify_files>0</minify_files>
                <minify_exclude>/js.braintreegateway.com/</minify_exclude>
            </js>
        </dev>
    </default>

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions