Avoid explicitly putting .htaccess and Grunt theme config in place #4930
Labels
Area: Frontend
bug report
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
The following two files (at least) are put in place by the Composer install process, and therefore on each environment where an M2 site is deployed and the install run, any site-specific modifications are overwritten with a vanilla version of the file:
However, both of these files are likely to need legitimate site-specific modifications (such as site-specific rewrite rules, or the addition of other themes to the Grunt config), and so it's undesirable for them to be overwritten during Composer install.
These files should likely be replaced with versions suffixed with ".sample", and the process of putting the real version in place should be part of a site setup.
The text was updated successfully, but these errors were encountered: