-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/tools/grunt/configs/themes.js gets replaced after update magento #18949
Comments
Hi @iget-master. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @iget-master do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
I think removing /dev/tools/grunt/configs/local-themes.js from .gitignore should be okay. |
Hi @torhoehn. Thank you for working on this issue.
|
This comment was marked as abuse.
This comment was marked as abuse.
@iget-master But it's in |
Hi @iget-master. Thank you for your report. The fix will be available with the upcoming 2.2.8 release. |
Hi @iget-master. Thank you for your report. The fix will be available with the upcoming 2.3.1 release. |
Summary (*)
Magento docs suggests adding theme to
dev/tools/grunt/configs/themes.js
file in order to allow using grunt to process less, watch and more.The problem is that this file gets replaced always that I upgarde the magento installation.
.gitignore file contains following line:
magento2/.gitignore
Line 36 in 77af5d6
Pointing that somehow this file should be used instead of modifying the main
themes.js
, but this file is not loaded anywhere, so we are required to update the gruntfile or the themes.js that will be always replaced.Examples (*)
Proposed solution
Why not provide a solution out of the box by loading that
local-themes.js
file if present?The text was updated successfully, but these errors were encountered: