Closed
Description
zxcvbn.js is not included in our theme, but when js bundling and merging is enabled this 850Kb file is added to the merged script.
Preconditions
- Magento 2.2.1
- Custom Theme
Steps to reproduce
- Enable a custom theme with no reference to password-strength-indicator or zxcvbn.js
- create override for magento-customer/view/frontend/requirejs-config.js and remove
passwordStrengthIndicator: 'Magento_Customer/js/password-strength-indicator', zxcvbn: 'Magento_Customer/js/zxcvbn',
- Enable JS Bundling and merging
- Enable production mode
Expected result
- zxcvbn.js should not be included
Actual result
- Search minified script and find 122 instances of fuck
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release