diff --git a/Gruntfile.js b/Gruntfile.js index bcd1cb0c52..52c2525a4b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -137,9 +137,11 @@ module.exports = grunt => { src: [ 'build/tmp/custom/Espo/Custom/*', '!build/tmp/custom/Espo/Custom/.htaccess', + '!build/tmp/custom/Espo/Modules', + 'build/tmp/custom/Espo/Modules/*', + '!build/tmp/custom/Espo/Modules/.htaccess', 'build/tmp/install/config.php', 'build/tmp/vendor/*/*/.git', - 'build/tmp/custom/Espo/Custom/*', 'build/tmp/client/custom/*', '!build/tmp/client/custom/modules', 'build/tmp/client/custom/modules/*',