Skip to content

Minify JavaScript files / .min added to paypal file #5835

Closed
@exreplay

Description

@exreplay

When "Minify JavaScript Files" is turned on, Magento does add .min to the external paypal script. You can enable merge or bundling, both don't affect the file or in general external files.

Preconditions

  1. Magento 2.1.0
  2. PHP-FPM 7.0.8
  3. 10.1.16-MariaDB-1~jessie

Steps to reproduce

  1. Login to Backend
  2. Shops -> Configuration ->Advanced -> Developer -> JavaScript Settings
  3. Put "Minify JavaScript Files" to "Yes"
  4. Save Config

Expected result

  1. "https://www.paypalobjects.com/api/checkout.js" is included

Actual result

  1. "https://www.paypalobjects.com/api/checkout.min.js" is included

Metadata

Metadata

Labels

Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions