Fix: Database migration and mail template files were not included in dist.

* Moved copying server-build/ from grunt to package.json
  using rsync to make sure to copy exactly what is needed
  and resolve symlinks correctly.
This commit is contained in:
baldo 2021-02-22 21:36:40 +01:00
commit 8c93a47682
3 changed files with 3 additions and 14 deletions

View file

@ -354,18 +354,6 @@ module.exports = function (grunt) {
dest: '<%= yeoman.dist %>/client/images',
src: ['generated/*']
},
{
expand: true,
cwd: 'server-build',
dest: '<%= yeoman.dist %>/server',
src: [
'{,**/}*.html',
'{,**/}*.template',
'{,**/}*.js',
'{,**/}*.sql',
'{,**/}*.txt'
]
},
{
expand: true,
cwd: 'shared',