Created
May 30, 2019 11:01
-
-
Save kirmorozov/37c1357b6384a0717f346c8d53e161a8 to your computer and use it in GitHub Desktop.
jQuery 3 Patch for Magento 2.3.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p dev/patches | |
# apply jQuery 3 to the project | |
curl https://github.com/magento/magento2/compare/2.3.1...morozov-group:2.3.1-jquery3.patch |\ | |
sed 's#/app/code/Magento/Catalog/#/vendor/magento/module-catalog/#g' |\ | |
sed 's#/app/code/Magento/ConfigurableProduct/#/vendor/magento/module-configurable-product/#g' |\ | |
sed 's#/app/code/Magento/ProductVideo/#/vendor/magento/module-product-video/#g' |\ | |
sed 's#/app/code/Magento/Theme/#/vendor/magento/module-theme/#g' |\ | |
sed 's#/app/code/Magento/Ui/#/vendor/magento/module-ui/#g' |\ | |
sed 's#/app/code/Magento/User/#/vendor/magento/module-user/#g' > dev/patches/mg_jquery3.patch | |
patch -p1 --forward < dev/patches/mg_jquery3.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment