Update Gruntfile.js (#336)

This commit is contained in:
maxkadushkin 2020-02-11 15:22:06 +03:00 committed by GitHub
parent 07b3d69d88
commit 1138cff890
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ module.exports = function(grunt) {
if (!Array.isArray(addons))
addons = [addons];
addons.forEach((element,index,self) => self[index] = '../../web-apps-' + element + '/build');
addons.forEach((element,index,self) => self[index] = path.join('../..', element, '/build'));
addons = addons.filter(element => grunt.file.isDir(element));
grunt.loadNpmTasks('grunt-contrib-clean');