Closed ebaschiera closed 4 years ago
Hello, on a Magento 2.1.8 if I turn on JS minification in Backend (Stores -> Configuration -> Advanced -> developer -> Minify JavaScript Files) I get errors at checkout and the page breaks.
It looks like the problem is a comment in several js files like this: https://github.com/hipay/hipay-fullservice-sdk-magento2/blob/1.9.0/view/frontend/web/js/view/payment/method-renderer/hipay-banco.js#L21
The comment //@override hipay-hosted confuses the minifier and the output is a one-liner that is almost all commented out.
//@override hipay-hosted
Removing those comments fixes the issue.
Thanks!
I noticed it's fixed on https://github.com/hipay/hipay-fullservice-sdk-magento2/releases/tag/1.9.1 Thanks!
Hello, on a Magento 2.1.8 if I turn on JS minification in Backend (Stores -> Configuration -> Advanced -> developer -> Minify JavaScript Files) I get errors at checkout and the page breaks.
It looks like the problem is a comment in several js files like this: https://github.com/hipay/hipay-fullservice-sdk-magento2/blob/1.9.0/view/frontend/web/js/view/payment/method-renderer/hipay-banco.js#L21
The comment
//@override hipay-hosted
confuses the minifier and the output is a one-liner that is almost all commented out.Removing those comments fixes the issue.
Thanks!