I have not found a good way to grunt-uglify multiple script files spread over multiple folders while keeping the folder structure including the uglified files intact. The on
Actually you can use following approach:
uglify: { all: { files: [{ expand: true, cwd: 'js/', src: ['*.js', '**/*.js'], dest: 'js-min/', ext: '.min.js', }], }, }